]> git.sur5r.net Git - u-boot/commit
video: Check for valid FB pointer before clearing
authorDuncan Laurie <dlaurie@chromium.org>
Sat, 3 Nov 2012 11:41:40 +0000 (11:41 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Dec 2012 22:30:44 +0000 (14:30 -0800)
commitae63057446b8bb45c37a6ea4e5db162ba4f25c78
treecb6bbe085947f498a25488cf0252e903bcc12990
parentc94663170b6a27279d4277d42013d55d8d33a292
video: Check for valid FB pointer before clearing

This command will start erasing at memory address zero
if there is not a valid framebuffer address that was found
during video_init().

This is a common case with Chrome OS devices in normal mode
when we do not execute the video option rom in coreboot.

Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/cfb_console.c