summaryrefslogtreecommitdiff
path: root/include/splash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/splash.h')
-rw-r--r--include/splash.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/splash.h b/include/splash.h
index 89ee7b2..4dbf754 100644
--- a/include/splash.h
+++ b/include/splash.h
@@ -21,7 +21,7 @@
#ifndef _SPLASH_H_
#define _SPLASH_H_
-
+#include <errno.h>
int splash_screen_prepare(void);
@@ -31,6 +31,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