X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fvideo.h;h=673aa2ec56fb4ef8cb5379472f00e4a8d2b6b193;hb=95de9ab201e9c43c8969321711de9e93e444e420;hp=f7e27f8477b0e5d3c4acae8175b080db88a78eca;hpb=79f38777947ac7685e2cef8bd977f954ab198c0e;p=oweals%2Fu-boot.git diff --git a/include/video.h b/include/video.h index f7e27f8477..673aa2ec56 100644 --- a/include/video.h +++ b/include/video.h @@ -11,9 +11,11 @@ /* Video functions */ -int video_init (void *videobase); -void video_putc (const char c); -void video_puts (const char *s); +struct stdio_dev; + +int video_init(void *videobase); +void video_putc(struct stdio_dev *dev, const char c); +void video_puts(struct stdio_dev *dev, const char *s); /** * Display a BMP format bitmap on the screen @@ -63,4 +65,8 @@ void video_position_cursor(unsigned col, unsigned row); /* Clear the display */ void video_clear(void); +#if defined(CONFIG_FORMIKE) +int kwh043st20_f01_spi_startup(unsigned int bus, unsigned int cs, + unsigned int max_hz, unsigned int spi_mode); +#endif #endif