video: consolidate splash screen alignment code
authorAnatolij Gustschin <agust@denx.de>
Mon, 1 Jul 2013 22:04:05 +0000 (00:04 +0200)
committerAnatolij Gustschin <agust@denx.de>
Mon, 8 Jul 2013 18:21:24 +0000 (20:21 +0200)
commitff8fb56b6f7edafc1bcba8ef008b3f368cabe60d
tree2db117f992892120bab9ab04b212700642adf0e7
parent327598945b13000065ca6ba3fe96c9bd45320999
video: consolidate splash screen alignment code

Code for checking "splashpos" environment variable is
duplicated in drivers, move it to the common function.
Call this function also in the bmp display command to
consider "splashpos" settings.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
common/cmd_bmp.c
common/lcd.c
common/splash.c
drivers/video/cfb_console.c
include/splash.h