diff mbox series

[U-Boot,1/9] arm64: zynqmp: Do not perform reset in case of panic

Message ID 4cb2224b329395ce9bae1b4dc9a7e5756eb79b08.1512141641.git.michal.simek@xilinx.com
State Accepted
Commit 6ee28cb953e1b0e57f34a97c33eb94bd1550b455
Delegated to: Michal Simek
Headers show
Series [U-Boot,1/9] arm64: zynqmp: Do not perform reset in case of panic | expand

Commit Message

Michal Simek Dec. 1, 2017, 3:20 p.m. UTC
Do not perform reset when panic happens because in the next reset
panic happens again and logs are overflood by the same errors.
This can be enabled by default and reset can be performed via watchdog.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/xilinx_zynqmp.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index 14604eb4e801..cc1a53654591 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -126,6 +126,7 @@ 
 #define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_CMDLINE_EDITING
+#define CONFIG_PANIC_HANG
 #define CONFIG_SYS_MAXARGS		64
 
 /* Ethernet driver */