]> code.ossystems Code Review - bsp/u-boot.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)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 1 Feb 2015 21:37:01 +0000 (19:37 -0200)
commit4c2bf3a70521addd5b7a0e6b53968ea693657f99
treec20323330671f6cb93d1cddd07c6b96166a8515b
parenta7d780b3a6c9bf405ef373ac3c3499b81691731f
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