summaryrefslogtreecommitdiffstats
path: root/board/compulab/common/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/compulab/common/common.h')
-rw-r--r--board/compulab/common/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/compulab/common/common.h b/board/compulab/common/common.h
index ffe1ef8174..7a106d6a24 100644
--- a/board/compulab/common/common.h
+++ b/board/compulab/common/common.h
@@ -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_ */
OpenPOWER on IntegriCloud