mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
committed by
Anatolij Gustschin
parent
dd4425e852
commit
59b1592211
@@ -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")));
|
||||
|
Reference in New Issue
Block a user