X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fvideo.h;h=65e4ec1e1a3df81ed83562914b902a18530b6fe3;hb=HEAD;hp=0ff857bc9f5722bce1062e6744f16bbfdbbbe9b0;hpb=19d829fa60fc4e6df514a046142faaaf9fc8185d;p=karo-tx-uboot.git diff --git a/include/video.h b/include/video.h index 0ff857bc9f..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 @@ -67,4 +69,8 @@ void video_clear(void); 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