summaryrefslogtreecommitdiff
path: root/board/compulab/common/common.h
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2015-01-14 10:42:50 +0200
committerStefano Babic <sbabic@denx.de>2015-01-29 17:42:29 +0100
commit7be4cd2cc54fc494dd550b9893e784bf1f9a31b5 (patch)
tree1b0cc8478bb1601c0214c79673caaf39745fc49c /board/compulab/common/common.h
parent6947e3f56f265c9bb1f3832c74630adf6286987d (diff)
downloadu-boot-imx-7be4cd2cc54fc494dd550b9893e784bf1f9a31b5.zip
u-boot-imx-7be4cd2cc54fc494dd550b9893e784bf1f9a31b5.tar.gz
u-boot-imx-7be4cd2cc54fc494dd550b9893e784bf1f9a31b5.tar.bz2
compulab: splash: refactor splash.c
Move storage device specific code into its own function instead of calling it directly from an otherwise storage device independent function (cl_splash_screen_prepare). This is a preparation for supporting multiple splash locations. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/compulab/common/common.h')
-rw-r--r--board/compulab/common/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/compulab/common/common.h b/board/compulab/common/common.h
index 68ffb11..80753b4 100644
--- a/board/compulab/common/common.h
+++ b/board/compulab/common/common.h
@@ -25,9 +25,9 @@ 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);
+int cl_splash_screen_prepare(int offset);
#else /* !CONFIG_SPLASH_SCREEN */
-static inline int cl_splash_screen_prepare(int nand_offset)
+static inline int cl_splash_screen_prepare(int offset)
{
return -ENOSYS;
}