commit | 88d0f5b1791cdd297186f52d48927d7129ff88d6 | [log] [tgz] |
---|---|---|
author | Tony Dinh <mibodhi@gmail.com> | Tue Mar 14 17:24:26 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Mar 22 12:51:08 2023 -0400 |
tree | 5405a399cb6f30e167e096766d75a378f99f30f3 | |
parent | ba23e764723a25eaac710d8d56b344823cfb27d0 [diff] |
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>