l4t: Disable kernel panic dumping for now

This commit is contained in:
CTCaer 2020-07-19 23:25:49 +03:00
parent 2b7722da7d
commit 6c887c15be

View file

@ -1145,7 +1145,8 @@ static void _show_errors()
if (*excp_enabled == EXCP_MAGIC) if (*excp_enabled == EXCP_MAGIC)
h_cfg.errors |= ERR_EXCEPT_ENB; h_cfg.errors |= ERR_EXCEPT_ENB;
if (PMC(APBDEV_PMC_SCRATCH37) & PMC_SCRATCH37_KERNEL_PANIC_FLAG) //! FIXME: Find a better way to identify if that scratch has proper data.
if (0 && PMC(APBDEV_PMC_SCRATCH37) & PMC_SCRATCH37_KERNEL_PANIC_FLAG)
{ {
// Set error and clear flag. // Set error and clear flag.
h_cfg.errors |= ERR_L4T_KERNEL; h_cfg.errors |= ERR_L4T_KERNEL;