[U-Boot] [PATCH 2/2] console: execute flush on uart when silent is removed

Tom Rini trini at konsulko.com
Thu Aug 8 03:16:40 UTC 2019


On Fri, Aug 02, 2019 at 02:58:10PM +0200, Patrice Chotard wrote:

> From: Patrick Delaunay <patrick.delaunay at st.com>
> 
> Avoid to flush buffer when silent console is activated as the
> console can be reactivate later, after relocation, when the env will
> be updated with the saved one.
> 
> Solve issue (missing beginning of U-Boot trace) when:
> - CONFIG_SILENT_CONSOLE is activated
> - silent=1 is defined in default environment (CONFIG_EXTRA_ENV_SETTINGS)
> - silent is removed in saved environment with:
>       > env delete silent; env save
> 
> Only functional when PRE_CONSOLE_BUFFER is activated.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>

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: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190807/0c084b7c/attachment.sig>


More information about the U-Boot mailing list