]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Move CONFIG_PANIC_HANG to Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 4 Dec 2017 03:37:00 +0000 (12:37 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 26 Dec 2017 18:10:24 +0000 (13:10 -0500)
Freescale (NXP) boards have lots of defconfig files per board.
I used "imply PANIC_HANG" for them.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: York Sun <york.sun@nxp.com>
49 files changed:
README
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/powerpc/cpu/mpc85xx/Kconfig
configs/TWR-P1025_defconfig
configs/UCP1020_SPIFLASH_defconfig
configs/UCP1020_defconfig
configs/adp-ae3xx_defconfig
configs/qemu-ppce500_defconfig
configs/tricorder_defconfig
configs/tricorder_flash_defconfig
configs/uniphier_ld4_sld8_defconfig
configs/uniphier_v7_defconfig
configs/uniphier_v8_defconfig
configs/xpedite517x_defconfig
configs/xpedite520x_defconfig
configs/xpedite537x_defconfig
configs/xpedite550x_defconfig
include/configs/B4860QDS.h
include/configs/C29XPCIE.h
include/configs/MPC8536DS.h
include/configs/MPC8544DS.h
include/configs/MPC8572DS.h
include/configs/P1010RDB.h
include/configs/P1023RDB.h
include/configs/P2041RDB.h
include/configs/T102xQDS.h
include/configs/T102xRDB.h
include/configs/T1040QDS.h
include/configs/T104xRDB.h
include/configs/T4240RDB.h
include/configs/UCP1020.h
include/configs/adp-ae3xx.h
include/configs/corenet_ds.h
include/configs/cyrus.h
include/configs/ls1012a_common.h
include/configs/ls1088a_common.h
include/configs/ls2080a_common.h
include/configs/p1_p2_rdb_pc.h
include/configs/p1_twr.h
include/configs/qemu-ppce500.h
include/configs/t4qds.h
include/configs/tricorder.h
include/configs/uniphier.h
include/configs/xpedite517x.h
include/configs/xpedite520x.h
include/configs/xpedite537x.h
include/configs/xpedite550x.h
include/configs/xtfpga.h
lib/Kconfig

diff --git a/README b/README
index 93c7ea966589984c334213fd6d84f8baa8521109..7594f3caae6a906fdc71884939bc470fd3f349a3 100644 (file)
--- a/README
+++ b/README
@@ -2168,16 +2168,6 @@ The following options need to be configured:
                currently only supports clearing the memory.
 
 - Error Recovery:
-               CONFIG_PANIC_HANG
-
-               Define this variable to stop the system in case of a
-               fatal error, so that you have to reset it manually.
-               This is probably NOT a good idea for an embedded
-               system where you want the system to reboot
-               automatically as fast as possible, but it may be
-               useful during development since you can try to debug
-               the conditions that lead to the situation.
-
                CONFIG_NET_RETRY_COUNT
 
                This variable defines the number of retries for
index 66bc32cc85113aec1b9b3d8b19bd6721dbed37d7..6c03dfb1d58cf015dbb05c8a2618b1aa9fc03798 100644 (file)
@@ -11,6 +11,7 @@ config ARCH_LS1012A
        select SYS_FSL_ERRATUM_A009008
        select ARCH_EARLY_INIT_R
        select BOARD_EARLY_INIT_F
+       imply PANIC_HANG
 
 config ARCH_LS1043A
        bool
@@ -91,6 +92,7 @@ config ARCH_LS1088A
        select ARCH_EARLY_INIT_R
        select BOARD_EARLY_INIT_F
        imply SCSI
+       imply PANIC_HANG
 
 config ARCH_LS2080A
        bool
@@ -129,6 +131,7 @@ config ARCH_LS2080A
        select SYS_FSL_ERRATUM_A009203
        select ARCH_EARLY_INIT_R
        select BOARD_EARLY_INIT_F
+       imply PANIC_HANG
 
 config FSL_LSCH2
        bool
index 5df8175f1ed6a08bb0f4c3e346eb820316568f66..19e8d02bf4f11017830104f759cd83d1bbdd39d3 100644 (file)
@@ -29,6 +29,7 @@ config TARGET_B4420QDS
        select ARCH_B4420
        select SUPPORT_SPL
        select PHYS_64BIT
+       imply PANIC_HANG
 
 config TARGET_B4860QDS
        bool "Support B4860QDS"
@@ -36,6 +37,7 @@ config TARGET_B4860QDS
        select BOARD_LATE_INIT if CHAIN_OF_TRUST
        select SUPPORT_SPL
        select PHYS_64BIT
+       imply PANIC_HANG
 
 config TARGET_BSC9131RDB
        bool "Support BSC9131RDB"
@@ -57,6 +59,7 @@ config TARGET_C29XPCIE
        select SUPPORT_SPL
        select SUPPORT_TPL
        select PHYS_64BIT
+       imply PANIC_HANG
 
 config TARGET_P3041DS
        bool "Support P3041DS"
@@ -64,6 +67,7 @@ config TARGET_P3041DS
        select ARCH_P3041
        select BOARD_LATE_INIT if CHAIN_OF_TRUST
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P4080DS
        bool "Support P4080DS"
@@ -71,6 +75,7 @@ config TARGET_P4080DS
        select ARCH_P4080
        select BOARD_LATE_INIT if CHAIN_OF_TRUST
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P5020DS
        bool "Support P5020DS"
@@ -78,6 +83,7 @@ config TARGET_P5020DS
        select ARCH_P5020
        select BOARD_LATE_INIT if CHAIN_OF_TRUST
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P5040DS
        bool "Support P5040DS"
@@ -85,6 +91,7 @@ config TARGET_P5040DS
        select ARCH_P5040
        select BOARD_LATE_INIT if CHAIN_OF_TRUST
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_MPC8536DS
        bool "Support MPC8536DS"
@@ -101,6 +108,7 @@ config TARGET_MPC8541CDS
 config TARGET_MPC8544DS
        bool "Support MPC8544DS"
        select ARCH_MPC8544
+       imply PANIC_HANG
 
 config TARGET_MPC8548CDS
        bool "Support MPC8548CDS"
@@ -124,6 +132,7 @@ config TARGET_MPC8572DS
 # Use DDR3 controller with DDR2 DIMMs on this board
        select SYS_FSL_DDRC_GEN3
        imply SCSI
+       imply PANIC_HANG
 
 config TARGET_P1010RDB_PA
        bool "Support P1010RDB_PA"
@@ -133,6 +142,7 @@ config TARGET_P1010RDB_PA
        select SUPPORT_TPL
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1010RDB_PB
        bool "Support P1010RDB_PB"
@@ -142,6 +152,7 @@ config TARGET_P1010RDB_PB
        select SUPPORT_TPL
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1022DS
        bool "Support P1022DS"
@@ -155,6 +166,7 @@ config TARGET_P1023RDB
        bool "Support P1023RDB"
        select ARCH_P1023
        imply CMD_EEPROM
+       imply PANIC_HANG
 
 config TARGET_P1020MBG
        bool "Support P1020MBG-PC"
@@ -163,6 +175,7 @@ config TARGET_P1020MBG
        select ARCH_P1020
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1020RDB_PC
        bool "Support P1020RDB-PC"
@@ -171,6 +184,7 @@ config TARGET_P1020RDB_PC
        select ARCH_P1020
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1020RDB_PD
        bool "Support P1020RDB-PD"
@@ -179,6 +193,7 @@ config TARGET_P1020RDB_PD
        select ARCH_P1020
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1020UTM
        bool "Support P1020UTM"
@@ -187,6 +202,7 @@ config TARGET_P1020UTM
        select ARCH_P1020
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1021RDB
        bool "Support P1021RDB"
@@ -195,6 +211,7 @@ config TARGET_P1021RDB
        select ARCH_P1021
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1024RDB
        bool "Support P1024RDB"
@@ -203,6 +220,7 @@ config TARGET_P1024RDB
        select ARCH_P1024
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_P1025RDB
        bool "Support P1025RDB"
@@ -256,6 +274,7 @@ config TARGET_T1023RDB
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_EEPROM
+       imply PANIC_HANG
 
 config TARGET_T1024RDB
        bool "Support T1024RDB"
@@ -264,6 +283,7 @@ config TARGET_T1024RDB
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_EEPROM
+       imply PANIC_HANG
 
 config TARGET_T1040QDS
        bool "Support T1040QDS"
@@ -272,6 +292,7 @@ config TARGET_T1040QDS
        select PHYS_64BIT
        imply CMD_EEPROM
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T1040RDB
        bool "Support T1040RDB"
@@ -280,6 +301,7 @@ config TARGET_T1040RDB
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T1040D4RDB
        bool "Support T1040D4RDB"
@@ -288,6 +310,7 @@ config TARGET_T1040D4RDB
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T1042RDB
        bool "Support T1042RDB"
@@ -304,6 +327,7 @@ config TARGET_T1042D4RDB
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T1042RDB_PI
        bool "Support T1042RDB_PI"
@@ -312,6 +336,7 @@ config TARGET_T1042RDB_PI
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T2080QDS
        bool "Support T2080QDS"
@@ -328,6 +353,7 @@ config TARGET_T2080RDB
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T2081QDS
        bool "Support T2081QDS"
@@ -342,12 +368,14 @@ config TARGET_T4160QDS
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T4160RDB
        bool "Support T4160RDB"
        select ARCH_T4160
        select SUPPORT_SPL
        select PHYS_64BIT
+       imply PANIC_HANG
 
 config TARGET_T4240QDS
        bool "Support T4240QDS"
@@ -356,6 +384,7 @@ config TARGET_T4240QDS
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_T4240RDB
        bool "Support T4240RDB"
@@ -363,6 +392,7 @@ config TARGET_T4240RDB
        select SUPPORT_SPL
        select PHYS_64BIT
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_CONTROLCENTERD
        bool "Support controlcenterd"
@@ -393,16 +423,19 @@ config TARGET_UCP1020
        bool "Support uCP1020"
        select ARCH_P1020
        imply CMD_SATA
+       imply PANIC_HANG
 
 config TARGET_CYRUS_P5020
        bool "Support Varisys Cyrus P5020"
        select ARCH_P5020
        select PHYS_64BIT
+       imply PANIC_HANG
 
 config TARGET_CYRUS_P5040
         bool "Support Varisys Cyrus P5040"
        select ARCH_P5040
        select PHYS_64BIT
+       imply PANIC_HANG
 
 endchoice
 
index 1eedd3c21fd4db1d7b3e2eedf7ecab5f0a9c6827..1eeb5908e8b3bc56c6afd9ee3dfffd00430ca621 100644 (file)
@@ -35,4 +35,5 @@ CONFIG_SYS_NS16550=y
 CONFIG_FSL_ESPI=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index c8f22620a0900c32b620ba31309759a9be799ba9..3c3e9fca5a24dbac0938f285c3a2fd2d82dfbcbd 100644 (file)
@@ -43,4 +43,5 @@ CONFIG_FSL_ESPI=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_FS_CRAMFS=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 0092e99283182dd91a4df742f81c4f2c2abf3464..bd17e059b6655c07df57592244262238ecb31d97 100644 (file)
@@ -43,4 +43,5 @@ CONFIG_FSL_ESPI=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_FS_CRAMFS=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 600566955a3fbf225c51b57aa0db3a79950f4bb1..cdbf8017039674add7678ac7d64ab7fff9d7e2dd 100644 (file)
@@ -39,3 +39,4 @@ CONFIG_DM_SPI=y
 CONFIG_ATCSPI200_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATCPIT100_TIMER=y
+CONFIG_PANIC_HANG=y
index f1db0d0fc9a24081a7ddb9e52461fb060190e387..9d2775519e5c81261a40b1a398d541f3300e8011 100644 (file)
@@ -24,4 +24,5 @@ CONFIG_DOS_PARTITION=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
 CONFIG_SYS_NS16550=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 0f6cccc3023b045855fc7f22a275d6b4da739247..27a3b6e0cabb34635859dcaab6b276371496b076 100644 (file)
@@ -40,4 +40,5 @@ CONFIG_NAND=y
 CONFIG_SPL_NAND_SIMPLE=y
 CONFIG_SYS_NS16550=y
 CONFIG_BCH=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 7477b427ece9b64cab85ae1b553c9ac3258247c8..78afec03b890aee30df7401971e74326baa6ac8e 100644 (file)
@@ -39,4 +39,5 @@ CONFIG_NAND=y
 CONFIG_SPL_NAND_SIMPLE=y
 CONFIG_SYS_NS16550=y
 CONFIG_BCH=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 08ba9cce505732d748d46827ad231eb2cb3631fe..0d12eb52de26a9e14e7301c71c19aa77a8bd0a41 100644 (file)
@@ -51,3 +51,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_STORAGE=y
+CONFIG_PANIC_HANG=y
index d2a1e3bc1fbbce8b90dfc46e44ac0cacc72fe9b2..47b90d67cc5f4f7b3983f43b59e19b41c6500575 100644 (file)
@@ -54,3 +54,4 @@ CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_UNIPHIER=y
 CONFIG_USB_STORAGE=y
+CONFIG_PANIC_HANG=y
index b0b213dc56efb409478b5d04ec4a78608b472bb6..bbcf3b09686ab27854fd202299132ab60519fc68 100644 (file)
@@ -51,3 +51,4 @@ CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_UNIPHIER=y
 CONFIG_USB_STORAGE=y
+CONFIG_PANIC_HANG=y
index a2324c3e7994faefb65a3a817e6361aab1c08ab5..37735182b9992659fe4cc95328fce3d8f5ec74c3 100644 (file)
@@ -27,4 +27,5 @@ CONFIG_DS4510=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 7518ef2e395621a627512a20553cde5fb6294991..7fffaa8a21844ce2aff41cda1754a2ddce2b46c5 100644 (file)
@@ -28,4 +28,5 @@ CONFIG_CMD_PCA953X=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index ead06a75f8532696dafd551acf766255ed3398a8..223bc4c72e42708f1bf27177d2b3e7304bd65eb0 100644 (file)
@@ -30,4 +30,5 @@ CONFIG_DS4510=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 80bc914eaeb55c1ce5ef8d12127686f40b653d1f..f3b9280889a80a19f98161b54655ff8b32478fc6 100644 (file)
@@ -30,4 +30,5 @@ CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_PANIC_HANG=y
 CONFIG_OF_LIBFDT=y
index 661bc8bf58f66c2b8bb0ba2c33546f6b82badc3a..b1b672547b3d68d7af183cfffea8dd33ef6a9a95 100644 (file)
@@ -173,7 +173,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index 7e805ecff017fca4f6ee646e7e83470a7027e737..f9d8cc69da8e6a816ce7177f2daa647e09c4f7f3 100644 (file)
 
 #define CONFIG_SYS_MEMTEST_START       0x00200000
 #define CONFIG_SYS_MEMTEST_END         0x00400000
-#define CONFIG_PANIC_HANG
 
 /* DDR Setup */
 #define CONFIG_DDR_SPD
index 7587225bda67a5c719f3a71ff6567e793eb8d7ec..eef16027a25ebc07caa2e6fdbb3a05c42daf834b 100644 (file)
@@ -69,7 +69,6 @@
 
 #define CONFIG_SYS_MEMTEST_START 0x00010000    /* skip exception vectors */
 #define CONFIG_SYS_MEMTEST_END   0x1f000000    /* skip u-boot at top of RAM */
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  * Config the L2 Cache as L2 SRAM
index bec8a09b5f324a5e7b4de2f09f88608d112bccac..9d9456c5e580e5d9d085f7ce008a12b09e2ec1b3 100644 (file)
@@ -46,7 +46,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 #define CONFIG_SYS_CCSRBAR             0xe0000000
 #define CONFIG_SYS_CCSRBAR_PHYS_LOW    CONFIG_SYS_CCSRBAR
index ebc2e3aad493e162553ed3dece03e9ebee217f59..91a55917e9c4bf929099cec813083a1b81997c0b 100644 (file)
@@ -58,7 +58,6 @@
 
 #define CONFIG_SYS_MEMTEST_START       0x00000000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x7fffffff
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  * Config the L2 Cache as L2 SRAM
index 72b6e3ad6d2a86714a3ae69302233341e449bb08..6a444aea61a55f718d38f36bf6c160757ce7dffe 100644 (file)
 
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x1fffffff
-#define CONFIG_PANIC_HANG              /* do not reset board on panic */
 
 /* DDR Setup */
 #define CONFIG_SYS_DDR_RAW_TIMING
index 1b78a4f5dc342fa3503409701196c5a2cff9af2e..17ae6cfd40b2094baac15c08e587a0bf133145ff 100644 (file)
@@ -52,8 +52,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_SYS_MEMTEST_START       0x01000000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x02000000
 
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
-
 /* Implement conversion of addresses in the LBC */
 #define CONFIG_SYS_LBC_LBCR            0x00000000
 #define CONFIG_SYS_LBC_LCRR            LCRR_CLKDIV_8
index 917e5d5a064e454c174beff9568559fca3d55c50..8e71fdfecd0e779bcce6598b59a0cc8f8b8c0417 100644 (file)
@@ -116,7 +116,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index ed6df539167e99e8621bed022fe81efb1f372f84..dd3cd6ecc6f3c4d0a94928bc6cc8a3799906fbee 100644 (file)
@@ -196,7 +196,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_MEMTEST_START       0x00200000 /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index 7dee2f0d45119bb17adbc4f9d215f33882878026..791c6ef1b3ff9a3b41a62bb131e896f9acffcb20 100644 (file)
@@ -219,7 +219,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_MEMTEST_START       0x00200000 /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index bc5c0d2e68f3ab839382ef525d72b139de1d3062..fb79b6a559988d9d5b4e4b326a9d770a4f1d21c4 100644 (file)
@@ -127,7 +127,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index 2b9c77f7c882b8880d27bf8fda1ee33e0be7d79c..ceb9daaac2ea9bffbb7db09035388795aaca2b9e 100644 (file)
@@ -226,7 +226,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index 98f8f4f10c5838778f695a66c39320a71cab2db1..ecf7f6465972c1b50b13073e34f0ae5649698355 100644 (file)
@@ -96,7 +96,6 @@
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index e8b1a74c64a82414c4ee1dd7407419297e8f7407..77bfd50cc99bb7b49f5e7916eb8a2058a6fd3daf 100644 (file)
 
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x1fffffff
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 #define CONFIG_SYS_CCSRBAR             0xffe00000
 #define CONFIG_SYS_CCSRBAR_PHYS_LOW    CONFIG_SYS_CCSRBAR
index 5644a6153bc7b745e886a276a738d14c6bd8fad3..f75274e2736cf92215bcb9331736ddbf561c59f7 100644 (file)
@@ -21,7 +21,6 @@
 #define CONFIG_SKIP_TRUNOFF_WATCHDOG
 
 #define CONFIG_CMDLINE_EDITING
-#define CONFIG_PANIC_HANG
 
 #define CONFIG_ARCH_MAP_SYSMEM
 
index d0e8bfbed7713d12bef0b41efe377e59bf71fd13..de9bc532fe53c0bc3e5c2d764a578fcadcf5d3a8 100644 (file)
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index 4fea53bf797cdb6801ddd069eda874f1a09dfa0a..942fbe2849d3caf0703f925b9cb2b868e98b992f 100644 (file)
@@ -89,7 +89,6 @@
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index db920bc5ccac4a20c5ddf386569bb535a6eaac8e..9cbc6249dcc5c1b2f9c9a0d47e60016a9ffe753e 100644 (file)
 #define CONFIG_AUTO_COMPLETE
 #define CONFIG_SYS_MAXARGS             64      /* max command args */
 
-#define CONFIG_PANIC_HANG
 #define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /* Increase max gunzip size */
 
 #include <asm/arch/soc.h>
index 0cd2f3c2bc9d9f30e3c60f6c9bed954d0dcaad8e..65872962372107db94bb9af37ab55dc3bb488bb2 100644 (file)
@@ -223,8 +223,6 @@ unsigned long long get_qixis_addr(void);
 #define CONFIG_AUTO_COMPLETE
 #define CONFIG_SYS_MAXARGS             64      /* max command args */
 
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
-
 #ifdef CONFIG_SPL
 #define CONFIG_SPL_BSS_START_ADDR      0x80100000
 #define CONFIG_SPL_BSS_MAX_SIZE                0x00100000
index 576785e4b67ca2e5ec0a918e0a143db12ad5a024..b995513bdfd64d3389dea3c7913a05edad276839 100644 (file)
@@ -221,8 +221,6 @@ unsigned long long get_qixis_addr(void);
 #define CONFIG_AUTO_COMPLETE
 #define CONFIG_SYS_MAXARGS             64      /* max command args */
 
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
-
 #define CONFIG_SPL_BSS_START_ADDR      0x80100000
 #define CONFIG_SPL_BSS_MAX_SIZE                0x00100000
 #define CONFIG_SPL_FRAMEWORK
index 07c192aecc1d216934e5892f26ae332d9dfe858e..4522569c2995842c9a407fafd0222a2db2301bcf 100644 (file)
 
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x1fffffff
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 #define CONFIG_SYS_CCSRBAR             0xffe00000
 #define CONFIG_SYS_CCSRBAR_PHYS_LOW    CONFIG_SYS_CCSRBAR
index d2302636ac90a79caaec9fa08024d7efaefce9f9..2ae77b0ad49457e3e3f1b35833228bec4107f886 100644 (file)
@@ -69,7 +69,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x1fffffff
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 #define CONFIG_SYS_CCSRBAR             0xffe00000
 #define CONFIG_SYS_CCSRBAR_PHYS_LOW    CONFIG_SYS_CCSRBAR
index eb4cfae9284cceffb47ac07bb8491bdf89ea1e05..8b78f084e9da8053b53986ec04430467c87ce27b 100644 (file)
@@ -31,7 +31,6 @@
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /* Needed to fill the ccsrbar pointer */
 
index 5a69708e30356f3e65d763a28523c46e0db8aca0..7aaf2107d9389384c2ca0ae2acf8e5b7b487e89a 100644 (file)
@@ -54,7 +54,6 @@
 #define CONFIG_SYS_MEMTEST_START       0x00200000      /* memtest works on */
 #define CONFIG_SYS_MEMTEST_END         0x00400000
 #define CONFIG_SYS_ALT_MEMTEST
-#define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*
  *  Config the L3 Cache as L3 SRAM
index d9ab91c967d61b78e9372eeb1c007a6391eee8c2..f892a5712ca84c14bc31e78560124c208a7c8345 100644 (file)
@@ -90,7 +90,6 @@
 
 
 /* hang() the board on panic() */
-#define CONFIG_PANIC_HANG
 
 /* environment placement (for NAND), is different for FLASHCARD but does not
  * harm there */
index 453f3db9ebab058cee3d7bfc9b7cc2759b9fdbbd..12cbe9b79dbb5d084f77bbe4ee149353fd63b1b5 100644 (file)
 /* for LD20; the last 64 byte is used for dynamic DDR PHY training */
 #define CONFIG_SYS_MEM_TOP_HIDE                64
 
-#define CONFIG_PANIC_HANG
-
 #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_TEXT_BASE)
 
 /* only for SPL */
index beedc9eda88af56abf195e43637e207f22c05c28..4326984b0626f3692c62a0ae77835312870a72c0 100644 (file)
@@ -487,7 +487,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_LOAD_ADDR   0x2000000       /* default load address */
 #define CONFIG_CMDLINE_EDITING 1               /* Command-line editing */
 #define CONFIG_LOADADDR                0x1000000       /* default location for tftp and bootm */
-#define CONFIG_PANIC_HANG                      /* do not reset board on panic */
 #define CONFIG_PREBOOT                         /* enable preboot variable */
 #define CONFIG_INTEGRITY                       /* support booting INTEGRITY OS */
 
index f589d1db9b0c6f6ba3e468b72a299e7e9220ce73..5a56162e7ca36c535166a6b4089070f748a6749c 100644 (file)
 #define CONFIG_CMDLINE_EDITING 1               /* add command line history     */
 #define CONFIG_AUTO_COMPLETE   1               /* add autocompletion support */
 #define CONFIG_LOADADDR                0x1000000       /* default location for tftp and bootm */
-#define CONFIG_PANIC_HANG                      /* do not reset board on panic */
 #define CONFIG_PREBOOT                         /* enable preboot variable */
 #define CONFIG_INTEGRITY                       /* support booting INTEGRITY OS */
 #define CONFIG_INTERRUPTS              /* enable pci, srio, ddr interrupts */
index d217eb3c7dec82f6bf05b37dba535fd9723aab6e..b26223794e6c8ec2d79b5b99b328ceb5afe1a54f 100644 (file)
@@ -341,7 +341,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_CMDLINE_EDITING 1               /* add command line history     */
 #define CONFIG_AUTO_COMPLETE   1               /* add autocompletion support */
 #define CONFIG_LOADADDR                0x1000000       /* default location for tftp and bootm */
-#define CONFIG_PANIC_HANG                      /* do not reset board on panic */
 #define CONFIG_PREBOOT                         /* enable preboot variable */
 #define CONFIG_INTEGRITY                       /* support booting INTEGRITY OS */
 
index 6c0981b11354066148641c5ca8bc7040d5afded1..624e9a82d07bd0d0665e78e97b5c89b526cbe63e 100644 (file)
@@ -339,7 +339,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_CMDLINE_EDITING 1               /* add command line history     */
 #define CONFIG_AUTO_COMPLETE   1               /* add autocompletion support */
 #define CONFIG_LOADADDR                0x1000000       /* default location for tftp and bootm */
-#define CONFIG_PANIC_HANG                      /* do not reset board on panic */
 #define CONFIG_PREBOOT                         /* enable preboot variable */
 #define CONFIG_INTEGRITY                       /* support booting INTEGRITY OS */
 
index 3050f17b814d59039a4b88febe6f097167feffac..3119f007971e33099224c133cad466bce942d7f8 100644 (file)
 #define CONFIG_MX_CYCLIC
 #define CONFIG_SHOW_BOOT_PROGRESS
 
-#ifdef DEBUG
-#define CONFIG_PANIC_HANG              1       /* Require manual reboot */
-#endif
-
 
 /*=========================================*/
 /* FPGA Registers (board info and control) */
index f447c53bdeffc440b23d2ba12f758b096ee575db..00ac650e741dca33d2d672375b24076c6509ee03 100644 (file)
@@ -45,6 +45,16 @@ config USE_TINY_PRINTF
 
          The supported format specifiers are %c, %s, %u/%d and %x.
 
+config PANIC_HANG
+       bool "Do not reset the system on fatal error"
+       help
+         Define this option to stop the system in case of a fatal error,
+         so that you have to reset it manually. This is probably NOT a good
+         idea for an embedded system where you want the system to reboot
+         automatically as fast as possible, but it may be useful during
+         development since you can try to debug the conditions that lead to
+         the situation.
+
 config REGEX
        bool "Enable regular expression support"
        default y if NET