summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRobert Winkler <robert.winkler@boundarydevices.com>2013-06-17 11:31:30 -0700
committerJason Liu <r64343@freescale.com>2013-11-22 13:11:03 +0800
commit4117088dfcb88b20808561698af0144d05fb6eb5 (patch)
tree7c0da31474dbcee0b0c7a8ea9a06845985e77784 /common
parent46ed430cf175585c4b2926d648c90efaf9bbec49 (diff)
downloadu-boot-imx-4117088dfcb88b20808561698af0144d05fb6eb5.zip
u-boot-imx-4117088dfcb88b20808561698af0144d05fb6eb5.tar.gz
u-boot-imx-4117088dfcb88b20808561698af0144d05fb6eb5.tar.bz2
video: lcd: Make splash_screen_prepare weak, remove config macro
Remove CONFIG_SPLASH_SCREEN_PREPARE from README Add doc/README.splashprepare to document functionality Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> (cherry picked from commit 59b15922119f79289df6714972acaeec0de1fe95) Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'common')
-rw-r--r--common/splash.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/common/splash.c b/common/splash.c
index 5cf5272..c744497 100644
--- a/common/splash.c
+++ b/common/splash.c
@@ -21,16 +21,11 @@
*/
#include <splash.h>
-#include <config.h>
-#ifdef CONFIG_SPLASH_SCREEN_PREPARE
-int splash_screen_prepare(void)
-{
- return board_splash_screen_prepare();
-}
-#else
-int splash_screen_prepare(void)
+int __splash_screen_prepare(void)
{
return 0;
}
-#endif
+
+int splash_screen_prepare(void)
+ __attribute__ ((weak, alias("__splash_screen_prepare")));