[PATCH] console: Use flush() before panic and reset
Tom Rini
trini at konsulko.com
Wed Mar 22 19:05:50 CET 2023
On Tue, Mar 14, 2023 at 05:24:26PM -0700, Tony Dinh wrote:
> To make sure the panic and the reset messages will go out, console flush() should be used.
> Sleep periods do not work in early u-boot phase when timer driver is not initialized yet.
>
> Reference: https://lists.denx.de/pipermail/u-boot/2023-March/512233.html
>
> Signed-off-by: Tony Dinh <mibodhi at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Stefan Roese <sr at denx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230322/121d93df/attachment.sig>
More information about the U-Boot
mailing list