]> git.dujemihanovic.xyz Git - u-boot.git/commit
omap3: cm-t35: extract the splash code from board
authorIgor Grinberg <grinberg@compulab.co.il>
Mon, 3 Nov 2014 09:32:20 +0000 (11:32 +0200)
committerTom Rini <trini@ti.com>
Thu, 6 Nov 2014 16:04:40 +0000 (11:04 -0500)
commitf4a40f05f504407a036e2beee88ce17930d5d45c
treec96304c36eb3837b13562ebe6a787ce6d29dd911
parent959bc1d5fa83eab057f12cb5ef79bd37ec98eb83
omap3: cm-t35: extract the splash code from board

The splash screen loading code can be reused by other compulab boards.
For now extract it to a common location for further reuse.

This also switches the splash code dependency from CONFIG_LCD to
CONFIG_SPLASH_SCREEN as it should normally be.

In addition this patch fixes the accidental dependency of the
get_board_mem_timings() function on CONFIG_LCD, by just moving the
splash code and leaving the above function intact.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Reviewed-by: Tom Rini <trini@ti.com>
board/compulab/cm_t35/cm_t35.c
board/compulab/common/Makefile
board/compulab/common/common.h
board/compulab/common/splash.c [new file with mode: 0644]