diff options
author | Robert Winkler <robert.winkler@boundarydevices.com> | 2013-06-17 11:31:30 -0700 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-07-01 21:47:16 +0200 |
commit | 59b15922119f79289df6714972acaeec0de1fe95 (patch) | |
tree | 1c6e4baa03f16e216241e740026b6aa3ec78bc06 /common/splash.c | |
parent | dd4425e85260c2e750676e2dc9c225cfff1b4bcd (diff) |
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>
Diffstat (limited to 'common/splash.c')
-rw-r--r-- | common/splash.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/common/splash.c b/common/splash.c index 5cf52723a56..c7444977ed7 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"))); |