[U-Boot] [PATCH] console.c: fix problem with splashimage

Wolfgang Denk wd at denx.de
Sun Mar 21 19:58:01 CET 2010


Dear Anatolij Gustschin,

In message <1268749773-4302-1-git-send-email-agust at denx.de> you wrote:
> 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 at denx.de>
> ---
>  common/console.c |   10 +++++++---
>  1 files changed, 7 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He is truly wise who gains wisdom from another's mishap.


More information about the U-Boot mailing list