video: cfb_console: fix hang if splashimage file is missing
authorAnatolij Gustschin <agust@denx.de>
Wed, 30 Nov 2016 13:30:59 +0000 (14:30 +0100)
committerAnatolij Gustschin <agust@denx.de>
Fri, 13 Jan 2017 19:20:35 +0000 (20:20 +0100)
commitb4fc6f221474e2bc9f3e4af52556fd4ab5cbb9b9
tree4cab5a75b7879adbdb85e0315ff567424d423549
parentdb1b79b886f085b5af09db9378f5c53417c3ecde
video: cfb_console: fix hang if splashimage file is missing

If the splash file doesn't exist, the booting stops bricking
the boards. Check return value of prepare function and stop
decoding the logo data if splash prepare stage failed.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/cfb_console.c