mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09: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:
parent
dd4425e852
commit
59b1592211
8
README
8
README
@ -1642,14 +1642,6 @@ CBFS (Coreboot Filesystem) support
|
|||||||
=> vertically centered image
|
=> vertically centered image
|
||||||
at x = dspWidth - bmpWidth - 9
|
at x = dspWidth - bmpWidth - 9
|
||||||
|
|
||||||
CONFIG_SPLASH_SCREEN_PREPARE
|
|
||||||
|
|
||||||
If this option is set then the board_splash_screen_prepare()
|
|
||||||
function, which must be defined in your code, is called as part
|
|
||||||
of the splash screen display sequence. It gives the board an
|
|
||||||
opportunity to prepare the splash image data before it is
|
|
||||||
processed and sent to the frame buffer by U-Boot.
|
|
||||||
|
|
||||||
- Gzip compressed BMP image support: CONFIG_VIDEO_BMP_GZIP
|
- Gzip compressed BMP image support: CONFIG_VIDEO_BMP_GZIP
|
||||||
|
|
||||||
If this option is set, additionally to standard BMP
|
If this option is set, additionally to standard BMP
|
||||||
|
@ -21,16 +21,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <splash.h>
|
#include <splash.h>
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
#ifdef CONFIG_SPLASH_SCREEN_PREPARE
|
int __splash_screen_prepare(void)
|
||||||
int splash_screen_prepare(void)
|
|
||||||
{
|
|
||||||
return board_splash_screen_prepare();
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
int splash_screen_prepare(void)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
int splash_screen_prepare(void)
|
||||||
|
__attribute__ ((weak, alias("__splash_screen_prepare")));
|
||||||
|
8
doc/README.splashprepare
Normal file
8
doc/README.splashprepare
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---------------------------------------------------------------------
|
||||||
|
Splash Screen
|
||||||
|
---------------------------------------------------------------------
|
||||||
|
The splash_screen_prepare() function is a weak function defined in
|
||||||
|
common/splash.c. It is called as part of the splash screen display
|
||||||
|
sequence. It gives the board an opportunity to prepare the splash
|
||||||
|
image data before it is processed and sent to the frame buffer by
|
||||||
|
U-Boot. Define your own version to use this feature.
|
Loading…
Reference in New Issue
Block a user