]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/splash.h
karo: tx6ul: add support for TX6UL Mainboard (v1)
[karo-tx-uboot.git] / include / splash.h
index a60e89542343532b2356d86f0215f30d53e228c6..1b98ac40eec97a22a38170013fa72778c3a0055d 100644 (file)
@@ -21,6 +21,7 @@
 
 #ifndef _SPLASH_H_
 #define _SPLASH_H_
+#include <errno.h>
 
 enum splash_storage {
        SPLASH_STORAGE_NAND,
@@ -42,6 +43,15 @@ void splash_get_pos(int *x, int *y);
 static inline void splash_get_pos(int *x, int *y) { }
 #endif
 
+#if defined(CONFIG_SPLASH_SCREEN) && defined(CONFIG_LCD)
+int lcd_splash(ulong addr);
+#else
+static inline int lcd_splash(ulong addr)
+{
+       return -ENOSYS;
+}
+#endif
+
 #define BMP_ALIGN_CENTER       0x7FFF
 
 #endif