diff options
author | Tom Rini <trini@konsulko.com> | 2023-03-22 14:01:01 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-22 14:01:01 -0400 |
commit | c84a00a647057d83ecfb081ca03c4865e4c1c1be (patch) | |
tree | c06d3e7309022a299855ac566ba51f3fb38b0007 /lib | |
parent | 5e207b8517427226b96c5e808ae119fb1d75d39a (diff) | |
parent | f8461352b84ea66ad03d3231a5056643ab73515d (diff) |
Merge branch '2023-03-22-assorted-fixes'
- Assorted TI platform fixes, correct location of NXP boot format git
repository, don't try and mount partitions that are too small to be
ext4 as ext4, handle .bin files in .gitattributes, flush out panic
messages for sure, and correct console location on Arm total_compute.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/panic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/panic.c b/lib/panic.c index 58382ac4f4..66ae17f3df 100644 --- a/lib/panic.c +++ b/lib/panic.c @@ -15,6 +15,7 @@ #include <command.h> #endif #include <linux/delay.h> +#include <stdio.h> static void panic_finish(void) __attribute__ ((noreturn)); @@ -24,7 +25,8 @@ static void panic_finish(void) #if defined(CONFIG_PANIC_HANG) hang(); #else - udelay(100000); /* allow messages to go out */ + flush(); /* flush the panic message before reset */ + do_reset(NULL, 0, 0, NULL); #endif while (1) |