compulab: splash: refactor splash.c
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 14 Jan 2015 08:42:50 +0000 (10:42 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 29 Jan 2015 16:42:29 +0000 (17:42 +0100)
commit7be4cd2cc54fc494dd550b9893e784bf1f9a31b5
tree1b0cc8478bb1601c0214c79673caaf39745fc49c
parent6947e3f56f265c9bb1f3832c74630adf6286987d
compulab: splash: refactor splash.c

Move storage device specific code into its own function instead of
calling it directly from an otherwise storage device independent
function (cl_splash_screen_prepare).

This is a preparation for supporting multiple splash locations.

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/common/common.h
board/compulab/common/splash.c