]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
compulab: splash: support multiple splash sources
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 14 Jan 2015 08:42:51 +0000 (10:42 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:57:33 +0000 (12:57 +0200)
commitf8ef67474682a450ce086a956f8b662e714b0ad9
treeb22086a6ea02e252f8c3c0a7d288fb065fd7e619
parent946a739e52674751bcb99780483af845659a121d
compulab: splash: support multiple splash sources

Define a generic way for boards to define splash image locations:
- introduce struct splash_location
- introduce enum splash_storage
- update cl_splash_screen_prepare() to take an array of above struct
  and select the appropriate one based on the splashsource environment
  variable (if it is not defined- use the first splash location as default).

cm-t35 is updated to work with the new interface.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_t35/cm_t35.c
board/compulab/common/common.h
board/compulab/common/splash.c