Move CONFIG_PANIC_HANG to Kconfig
Freescale (NXP) boards have lots of defconfig files per board. I used "imply PANIC_HANG" for them. Change-Id: I56347810ee33ccd8bb3553b0ee95b858e827ce9b Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: York Sun <york.sun@nxp.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 7e3caa81e0e9cc5e2beed4a3a1c334e2119f4498)
This commit is contained in:
parent
ce17630593
commit
0e13c182e0
10
README
10
README
|
|
@ -2247,16 +2247,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
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ config ARCH_LS1012A
|
|||
select SYS_FSL_ERRATUM_A010315
|
||||
select ARCH_EARLY_INIT_R
|
||||
select BOARD_EARLY_INIT_F
|
||||
imply PANIC_HANG
|
||||
|
||||
config ARCH_LS1043A
|
||||
bool
|
||||
|
|
@ -82,6 +83,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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
@ -100,6 +107,7 @@ config TARGET_MPC8541CDS
|
|||
config TARGET_MPC8544DS
|
||||
bool "Support MPC8544DS"
|
||||
select ARCH_MPC8544
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_MPC8548CDS
|
||||
bool "Support MPC8548CDS"
|
||||
|
|
@ -123,6 +131,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"
|
||||
|
|
@ -132,6 +141,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"
|
||||
|
|
@ -141,6 +151,7 @@ config TARGET_P1010RDB_PB
|
|||
select SUPPORT_TPL
|
||||
imply CMD_EEPROM
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_P1022DS
|
||||
bool "Support P1022DS"
|
||||
|
|
@ -153,6 +164,7 @@ config TARGET_P1023RDB
|
|||
bool "Support P1023RDB"
|
||||
select ARCH_P1023
|
||||
imply CMD_EEPROM
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_P1020MBG
|
||||
bool "Support P1020MBG-PC"
|
||||
|
|
@ -161,6 +173,7 @@ config TARGET_P1020MBG
|
|||
select ARCH_P1020
|
||||
imply CMD_EEPROM
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_P1020RDB_PC
|
||||
bool "Support P1020RDB-PC"
|
||||
|
|
@ -169,6 +182,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"
|
||||
|
|
@ -177,6 +191,7 @@ config TARGET_P1020RDB_PD
|
|||
select ARCH_P1020
|
||||
imply CMD_EEPROM
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_P1020UTM
|
||||
bool "Support P1020UTM"
|
||||
|
|
@ -185,6 +200,7 @@ config TARGET_P1020UTM
|
|||
select ARCH_P1020
|
||||
imply CMD_EEPROM
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_P1021RDB
|
||||
bool "Support P1021RDB"
|
||||
|
|
@ -193,6 +209,7 @@ config TARGET_P1021RDB
|
|||
select ARCH_P1021
|
||||
imply CMD_EEPROM
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_P1024RDB
|
||||
bool "Support P1024RDB"
|
||||
|
|
@ -201,6 +218,7 @@ config TARGET_P1024RDB
|
|||
select ARCH_P1024
|
||||
imply CMD_EEPROM
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_P1025RDB
|
||||
bool "Support P1025RDB"
|
||||
|
|
@ -250,6 +268,7 @@ config TARGET_T1023RDB
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_EEPROM
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T1024RDB
|
||||
bool "Support T1024RDB"
|
||||
|
|
@ -258,6 +277,7 @@ config TARGET_T1024RDB
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_EEPROM
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T1040QDS
|
||||
bool "Support T1040QDS"
|
||||
|
|
@ -266,6 +286,7 @@ config TARGET_T1040QDS
|
|||
select PHYS_64BIT
|
||||
imply CMD_EEPROM
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T1040RDB
|
||||
bool "Support T1040RDB"
|
||||
|
|
@ -274,6 +295,7 @@ config TARGET_T1040RDB
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T1040D4RDB
|
||||
bool "Support T1040D4RDB"
|
||||
|
|
@ -282,6 +304,7 @@ config TARGET_T1040D4RDB
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T1042RDB
|
||||
bool "Support T1042RDB"
|
||||
|
|
@ -298,6 +321,7 @@ config TARGET_T1042D4RDB
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T1042RDB_PI
|
||||
bool "Support T1042RDB_PI"
|
||||
|
|
@ -306,6 +330,7 @@ config TARGET_T1042RDB_PI
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T2080QDS
|
||||
bool "Support T2080QDS"
|
||||
|
|
@ -322,6 +347,7 @@ config TARGET_T2080RDB
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T2081QDS
|
||||
bool "Support T2081QDS"
|
||||
|
|
@ -336,12 +362,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"
|
||||
|
|
@ -350,6 +378,7 @@ config TARGET_T4240QDS
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_T4240RDB
|
||||
bool "Support T4240RDB"
|
||||
|
|
@ -357,6 +386,7 @@ config TARGET_T4240RDB
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
imply CMD_SATA
|
||||
imply PANIC_HANG
|
||||
|
||||
config TARGET_CONTROLCENTERD
|
||||
bool "Support controlcenterd"
|
||||
|
|
@ -387,16 +417,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
|
||||
|
||||
|
|
|
|||
|
|
@ -31,4 +31,5 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_FSL_ESPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -42,4 +42,5 @@ CONFIG_FSL_ESPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_FS_CRAMFS=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -42,4 +42,5 @@ CONFIG_FSL_ESPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_FS_CRAMFS=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -27,3 +27,4 @@ CONFIG_DM_SERIAL=y
|
|||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_TIMER=y
|
||||
CONFIG_AE3XX_TIMER=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
|
|
|||
|
|
@ -25,4 +25,5 @@ CONFIG_DOS_PARTITION=y
|
|||
CONFIG_NETDEVICES=y
|
||||
CONFIG_E1000=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -37,4 +37,5 @@ CONFIG_LED_STATUS_CMD=y
|
|||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_BCH=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -36,4 +36,5 @@ CONFIG_LED_STATUS_CMD=y
|
|||
CONFIG_MMC_OMAP_HS=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_BCH=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -47,3 +47,4 @@ CONFIG_USB=y
|
|||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
|
|
|||
|
|
@ -46,3 +46,4 @@ CONFIG_SPL_NAND_DENALI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
|
|
|||
|
|
@ -45,3 +45,4 @@ CONFIG_USB_XHCI_DWC3=y
|
|||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
|
|
|||
|
|
@ -26,4 +26,5 @@ CONFIG_DS4510=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -27,4 +27,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
|
||||
|
|
|
|||
|
|
@ -29,4 +29,5 @@ CONFIG_DS4510=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -29,4 +29,5 @@ CONFIG_PHYLIB=y
|
|||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@
|
|||
|
||||
#define CONFIG_SYS_MEMTEST_START 0x00200000
|
||||
#define CONFIG_SYS_MEMTEST_END 0x00400000
|
||||
#define CONFIG_PANIC_HANG
|
||||
|
||||
/* DDR Setup */
|
||||
#define CONFIG_DDR_SPD
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -216,7 +216,6 @@
|
|||
|
||||
#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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -138,7 +138,6 @@
|
|||
|
||||
#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
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
#define CONFIG_SKIP_TRUNOFF_WATCHDOG
|
||||
|
||||
#define CONFIG_CMDLINE_EDITING
|
||||
#define CONFIG_PANIC_HANG
|
||||
|
||||
#define CONFIG_SYS_ICACHE_OFF
|
||||
#define CONFIG_SYS_DCACHE_OFF
|
||||
|
|
|
|||
|
|
@ -128,7 +128,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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@
|
|||
#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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -295,7 +295,6 @@
|
|||
|
||||
#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
|
||||
|
|
|
|||
|
|
@ -71,7 +71,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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -103,7 +103,6 @@
|
|||
|
||||
|
||||
/* hang() the board on panic() */
|
||||
#define CONFIG_PANIC_HANG
|
||||
|
||||
/* environment placement (for NAND), is different for FLASHCARD but does not
|
||||
* harm there */
|
||||
|
|
|
|||
|
|
@ -231,8 +231,6 @@
|
|||
/* 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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -291,7 +291,6 @@
|
|||
#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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -340,7 +340,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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -130,10 +130,6 @@
|
|||
#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) */
|
||||
|
|
|
|||
10
lib/Kconfig
10
lib/Kconfig
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue