kernel: Add phosphor-wdt-on-panic KERNEL_FEATURE
phosphor-wdt-on-panic configures the kernel with an infinite panic
timeout, with the expectation that the hardware watchdog will bite and
reset the BMC. On Witherspoon systems this allows the SoC to boot from
the alternate BMC firmware flash device.
Change-Id: I45f5c5175484a2c386f5104194f16d8d6fa0aec9
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/common/recipes-kernel/linux/linux-obmc/phosphor-wdt-on-panic.cfg b/common/recipes-kernel/linux/linux-obmc/phosphor-wdt-on-panic.cfg
new file mode 100644
index 0000000..329b4df
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-obmc/phosphor-wdt-on-panic.cfg
@@ -0,0 +1,2 @@
+CONFIG_PANIC_ON_OOPS=y
+CONFIG_PANIC_TIMEOUT=0