X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=include%2Fvideo.h;h=65e4ec1e1a3df81ed83562914b902a18530b6fe3;hp=0ff857bc9f5722bce1062e6744f16bbfdbbbe9b0;hb=e05a951b1dc9e67859603d608e2afc36210eb10f;hpb=bc23d96b75fb9c494390c8af02c473c4f11f7719 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