README.splashprepare 1.3 KB

1234567891011121314151617181920212223242526
  1. ---------------------------------------------------------------------
  2. Splash Screen
  3. ---------------------------------------------------------------------
  4. The splash_screen_prepare() function is a weak function defined in
  5. common/splash.c. It is called as part of the splash screen display
  6. sequence. It gives the board an opportunity to prepare the splash
  7. image data before it is processed and sent to the frame buffer by
  8. U-Boot. Define your own version to use this feature.
  9. CONFIG_SPLASH_SOURCE
  10. Use the splash_source.c library. This library provides facilities to declare
  11. board specific splash image locations, routines for loading splash image from
  12. supported locations, and a way of controlling the selected splash location
  13. using the "splashsource" environment variable.
  14. splashsource works as follows:
  15. - If splashsource is set to a supported location name as defined by board code,
  16. use that splash location.
  17. - If splashsource is undefined, use the first splash location as default.
  18. - If splashsource is set to an unsupported value, do not load a splash screen.
  19. A splash source location can describe either storage with raw data, or storage
  20. formatted with a file system. In case of a filesystem, the splash screen data is
  21. loaded as a file. The name of the splash screen file can be controlled with the
  22. environment variable "splashfile".