summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6
diff options
context:
space:
mode:
authorYacine Belkadi2012-04-26 17:31:40 +0200
committerYacine Belkadi2012-05-22 16:12:01 +0200
commita6b1b06dfe86b0204207f13b875e12600e9903df (patch)
tree5b371bceb6f7ec8e6bdb1f17c9cdc4f224b75ffb /cleopatre/u-boot-1.1.6
parent6af15ebedb9feadcf1d0cbc3b62a950888c01b0e (diff)
cleo/u-boot: set linux to reboot on panic, closes #3084
Ask the Linux kernel to reboot after 1 second, if a panic occurs. This is set in the boot parameters, instead of in a sysctl.conf file, in order to cover panics occuring during the boot process (from drivers for example).
Diffstat (limited to 'cleopatre/u-boot-1.1.6')
-rw-r--r--cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h b/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h
index 4b99d6e56f..75d03a8a3c 100644
--- a/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h
+++ b/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h
@@ -125,9 +125,9 @@
/* Boot parameters given to Linux */
#ifdef CONFIG_CHIP_FEATURE_LINUX_MEM_WORKAROUND
/* Workaround for #2842. */
-# define CONFIG_BOOTARGS "console=ttyS0,115200 mem=28M"
+# define CONFIG_BOOTARGS "console=ttyS0,115200 panic=1 mem=28M"
#else
-# define CONFIG_BOOTARGS "console=ttyS0,115200"
+# define CONFIG_BOOTARGS "console=ttyS0,115200 panic=1"
#endif
/* Allow the following commands */