]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/compulab/common/common.h
omap3: cm-t35: extract the splash code from board
[karo-tx-uboot.git] / board / compulab / common / common.h
index ffe1ef8174f21eab57538c1e6244ad73cff63924..7a106d6a24ed1aa38b00b53595084d9107002965 100644 (file)
@@ -24,4 +24,13 @@ static inline int cl_usb_hub_init(int gpio, const char *label)
 static inline void cl_usb_hub_deinit(int gpio) {}
 #endif /* CONFIG_CMD_USB */
 
+#ifdef CONFIG_SPLASH_SCREEN
+int cl_splash_screen_prepare(int nand_offset);
+#else /* !CONFIG_SPLASH_SCREEN */
+static inline int cl_splash_screen_prepare(int nand_offset)
+{
+       return -ENOSYS;
+}
+#endif /* CONFIG_SPLASH_SCREEN */
+
 #endif /* _CL_COMMON_ */