summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/panic_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/panic_output.c b/common/panic_output.c
index c9d59f2061..e54cb0caf8 100644
--- a/common/panic_output.c
+++ b/common/panic_output.c
@@ -129,7 +129,8 @@ static void panic_init(void)
}
#endif
}
-DECLARE_HOOK(HOOK_INIT, panic_init, HOOK_PRIO_DEFAULT);
+DECLARE_HOOK(HOOK_INIT, panic_init, HOOK_PRIO_LAST);
+DECLARE_HOOK(HOOK_CHIPSET_RESET, panic_init, HOOK_PRIO_LAST);
#ifdef CONFIG_CMD_STACKOVERFLOW
static void stack_overflow_recurse(int n)