X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;ds=sidebyside;f=include%2Fvideo.h;h=65e4ec1e1a3df81ed83562914b902a18530b6fe3;hb=e05a951b1dc9e67859603d608e2afc36210eb10f;hp=f7e27f8477b0e5d3c4acae8175b080db88a78eca;hpb=178d0cc1a4c73c3341afbeb2a93b172de8c96bd1;p=karo-tx-uboot.git diff --git a/include/video.h b/include/video.h index f7e27f8477..65e4ec1e1a 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,12 @@ 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 +#if defined(CONFIG_LG4573) +int lg4573_spi_startup(unsigned int bus, unsigned int cs, + unsigned int max_hz, unsigned int spi_mode); +#endif #endif