[U-Boot] [U-Boot, RFC, v1] common/console.c: ensure GD_FLG_SILENT is set or cleared

Tom Rini trini at konsulko.com
Sat Oct 8 19:06:40 CEST 2016


On Fri, Sep 23, 2016 at 03:59:43PM +1200, Chris Packham wrote:

> When CONFIG_SILENT_CONSOLE is defined and the default environment has
> silent=1 it is not possible for a user to make the console un-silent if
> the environment is not available when console_init_f() is called (for
> example because the environment is in SPI).
> 
> Add a new helper function console_update_silent() and call it from both
> console_init_f() and console_init_r().
> 
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161008/8deb8f95/attachment.sig>


More information about the U-Boot mailing list