Tony Dinh c5f4cdb8eb console: Use flush() before panic and reset
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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2023-03-22 12:51:08 -04:00
..
2022-12-05 16:07:13 -05:00
2023-02-10 07:41:39 -05:00
2023-02-07 14:33:48 -05:00
2022-09-02 13:40:42 -04:00
2022-09-02 13:40:42 -04:00