]> git.ipfire.org Git - thirdparty/u-boot.git/blame - doc/README.splashprepare
usb: dwc3: add dis_u2_freeclk_exists_quirk
[thirdparty/u-boot.git] / doc / README.splashprepare
CommitLineData
59b15922
RW
1---------------------------------------------------------------------
2Splash Screen
3---------------------------------------------------------------------
4The splash_screen_prepare() function is a weak function defined in
5common/splash.c. It is called as part of the splash screen display
6sequence. It gives the board an opportunity to prepare the splash
7image data before it is processed and sent to the frame buffer by
db1b79b8 8U-Boot. Define your own version to use this feature.
f82eb2fa
NK
9
10CONFIG_SPLASH_SOURCE
11
12Use the splash_source.c library. This library provides facilities to declare
13board specific splash image locations, routines for loading splash image from
14supported locations, and a way of controlling the selected splash location
15using the "splashsource" environment variable.
16
17splashsource works as follows:
18- If splashsource is set to a supported location name as defined by board code,
19 use that splash location.
20- If splashsource is undefined, use the first splash location as default.
21- If splashsource is set to an unsupported value, do not load a splash screen.
870dd309 22
db1b79b8 23A splash source location can describe either storage with raw data, a storage
24formatted with a file system or a FIT image. In case of a filesystem, the splash
25screen data is loaded as a file. The name of the splash screen file can be
26controlled with the environment variable "splashfile".
27
28To enable loading the splash image from a FIT image, CONFIG_FIT must be
3d92f317
LR
29enabled. The FIT image has to start at the 'offset' field address in the
30selected splash location. The name of splash image within the FIT shall be
31specified by the environment variable "splashfile".
32
33In case the environment variable "splashfile" is not defined the default name
34'splash.bmp' will be used.