meta-aspeed: Add kernel panic timeout

Set a one-second timeout observed by the kernel after panicking. The
system will reset after the timeout is up.

The default timeout is 0, which means to wait indefinitely after panic.

Fixes openbmc/openbmc#1114

Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I2eec2113fd7598f84dd91412b212ecc2a6949214
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig b/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
index 2b9ae8f..aad4358 100644
--- a/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
+++ b/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
@@ -172,6 +172,7 @@
 CONFIG_DYNAMIC_DEBUG=y
 CONFIG_STRIP_ASM_SYMS=y
 CONFIG_DEBUG_FS=y
+CONFIG_PANIC_TIMEOUT=1
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_FTRACE is not set
 CONFIG_DEBUG_USER=y
diff --git a/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig b/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
index 9eb1366..211e69d 100644
--- a/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
+++ b/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
@@ -176,6 +176,7 @@
 CONFIG_DYNAMIC_DEBUG=y
 CONFIG_STRIP_ASM_SYMS=y
 CONFIG_DEBUG_FS=y
+CONFIG_PANIC_TIMEOUT=1
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_FTRACE is not set
 CONFIG_DEBUG_USER=y