arm64: zynqmp: Do not perform reset in case of panic
authorMichal Simek <michal.simek@xilinx.com>
Mon, 6 Feb 2017 13:34:01 +0000 (14:34 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 14 Dec 2017 19:08:21 +0000 (20:08 +0100)
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

index 57fee6a..940244d 100644 (file)
 #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 */