[U-Boot] [PATCH 00/14] cm-fx6 updates and a new splash screen feature

Nikita Kiryanov
2015-01-14T08:42:40Z

This series consists of updates for cm-fx6. Some of these updates (specifically:
compulab: splash: use errno values
compulab: splash: refactor splash.c
compulab: splash: support multiple splash sources
compulab: splash: support loading splash from sf)
produce an end result which is not really compulab specific and could be useful
for other boards as well, so as a last step in the series this code is converted
to common code (common: convert compulab splash load code to common code).

The new feature: CONFIG_SPLASH_SOURCE
This user option will enable splash_source.c, a module which implements a
standard way for boards to define a collection of splash screen locations, as
well as routines for loading the splash image into memory.

When invoked using splash_source_load(locations, size), the module will consult
the environment variable "splashsource" and compare its value with the splash
location names as provided by board code. If there's a match, that splash
location is used. If there's no mach, no splash image will be loaded. If
splashsource is left undefined, the first splash location is used as default.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Anatolij Gustschin <agust@denx.de>

Nikita Kiryanov (14):
arm: mx6: cm-fx6: expand boot sequence
arm: mx6: cm-fx6: change dtb node for ethaddr
compulab: eeprom: allow reading mac address from multiple eeproms
arm: mx6: cm-fx6: pass 2nd nic mac addr to Linux
arm: mx6: cm-fx6: increase size of malloc area
arm: mx6: cm-fx6: add hdmi console support
arm: mx6: cm-fx6: display compulab logo
arm: mx6: cm-fx6: add support for usb keyboard
compulab: splash: use errno values
compulab: splash: refactor splash.c
compulab: splash: support multiple splash sources
compulab: splash: support loading splash from sf
arm: mx6: cm-fx6: add splash screen support
common: convert compulab splash load code to common code

board/compulab/cm_fx6/cm_fx6.c | 95 ++++++++++++++++++--
board/compulab/cm_t335/cm_t335.c | 2 +-
board/compulab/cm_t35/cm_t35.c | 14 ++-
board/compulab/cm_t3517/cm_t3517.c | 2 +-
board/compulab/cm_t54/cm_t54.c | 2 +-
board/compulab/common/Makefile | 1 -
board/compulab/common/common.h | 9 --
board/compulab/common/eeprom.c | 20 +++--
board/compulab/common/eeprom.h | 4 +-
board/compulab/common/splash.c | 72 ---------------
common/Makefile | 1 +
common/splash_source.c | 176 +++++++++++++++++++++++++++++++++++++
doc/README.splashprepare | 13 +++
include/configs/cm_fx6.h | 158 +++++++++++++++++++--------------
include/configs/cm_t35.h | 1 +
include/splash.h | 11 +++
tools/logos/compulab.bmp | Bin 0 -> 31810 bytes
17 files changed, 409 insertions(+), 172 deletions(-)
delete mode 100644 board/compulab/common/splash.c
create mode 100644 common/splash_source.c
create mode 100644 tools/logos/compulab.bmp

--
1.9.1