[U-Boot-Users] [PATCH] simplify silent console

Stefan Roese sr at denx.de
Mon Oct 30 09:25:14 CET 2006


Hi Ladis,

On Tuesday 25 July 2006 17:30, Ladislav Michl wrote:
> silent console output is currently implemented by assigning nulldev
> as output device. This is a bit overcomplicated, since there is
> also GD_FLG_SILENT flag.
>
> Patch bellow tries to simplify silencing console by honouring
> GD_FLG_SILENT in console output functions, so there is no need to
> mess with output device. Comments?

Good idea. One thing though: After applying your patch the system _does_ print 
the bootcount messages "Hit any key to stop autoboot: ..." even if 
the "silent" variable is set. This was not done with the previous 
implementation and is not intended. Could you please rework your patch, that 
no message is printed here?

And please update the README.silent documentation too to match the updated 
implementation.

Thanks.

Best regards,
Stefan




More information about the U-Boot mailing list