]> git.ipfire.org Git - people/ms/u-boot.git/commit
console.c: fix problem with splashimage
authorAnatolij Gustschin <agust@denx.de>
Tue, 16 Mar 2010 14:29:33 +0000 (15:29 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 21 Mar 2010 21:22:53 +0000 (22:22 +0100)
commita74908161a1b37d780d3a826a86807bbc50a3857
tree801af4a8738ca9ca11afe35d957e911e3c8d42c5
parent5647f78d04174b0b99857d2a7cbf25141bd14a45
console.c: fix problem with splashimage

If a board uses cfb_console driver and splash image
and also defines CONFIG_SILENT_CONSOLE, the user is
locked out even if "silent" is not set. It is not
possible to get any output, neither on vga console
device nor on serial console after redirecting the
output to the serial console, since the GD_FLG_SILENT
flag remains set.

Fix the problem by redirecting the output from frame
buffer to serial console if splashimage is used.
Only suppress the output if "silent" environment
variable was set and don't set the GD_FLG_SILENT
flag arbitrarily.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/console.c