summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 03:25:08 -0600
committerTom Rini <trini@konsulko.com>2017-05-22 08:37:13 -0400
commitd63323fb59fb8ccb6b86aad6c54418708f7556e2 (patch)
tree0e6f3d981837f2321e86c6815aa4a5e01af0b54b
parent21c729799104605f2e4fa976af2f97ed8e258afc (diff)
Convert CONFIG_CMD_ECCTEST to Kconfig
This converts the following to Kconfig: CONFIG_CMD_ECCTEST Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/powerpc/cpu/ppc4xx/Kconfig6
-rw-r--r--configs/katmai_defconfig1
-rw-r--r--configs/t3corp_defconfig1
-rw-r--r--include/configs/katmai.h1
-rw-r--r--include/configs/t3corp.h1
-rw-r--r--scripts/config_whitelist.txt1
6 files changed, 8 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/Kconfig b/arch/powerpc/cpu/ppc4xx/Kconfig
index 38121c1427..77e8fd458e 100644
--- a/arch/powerpc/cpu/ppc4xx/Kconfig
+++ b/arch/powerpc/cpu/ppc4xx/Kconfig
@@ -137,6 +137,12 @@ config CMD_CHIP_CONFIG
and control the CPU and peripehrals clocks. The programmed
configuration is then used when the board boots.
+config CMD_ECCTEST
+ bool "Enable the 'ecctest' command"
+ help
+ This command tests memory ECC by single and double error bit
+ injection.
+
source "board/amcc/acadia/Kconfig"
source "board/amcc/bamboo/Kconfig"
source "board/amcc/bubinga/Kconfig"
diff --git a/configs/katmai_defconfig b/configs/katmai_defconfig
index 406bdcd696..baa266e167 100644
--- a/configs/katmai_defconfig
+++ b/configs/katmai_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
CONFIG_4xx=y
CONFIG_TARGET_KATMAI=y
CONFIG_CMD_CHIP_CONFIG=y
+CONFIG_CMD_ECCTEST=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_BOOTDELAY=5
CONFIG_SYS_CONSOLE_INFO_QUIET=y
diff --git a/configs/t3corp_defconfig b/configs/t3corp_defconfig
index 21c4c89212..2e5416e03b 100644
--- a/configs/t3corp_defconfig
+++ b/configs/t3corp_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
CONFIG_4xx=y
CONFIG_TARGET_T3CORP=y
CONFIG_CMD_CHIP_CONFIG=y
+CONFIG_CMD_ECCTEST=y
CONFIG_FIT=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_BOOTDELAY=5
diff --git a/include/configs/katmai.h b/include/configs/katmai.h
index c3b9da0d96..3f39a26d3b 100644
--- a/include/configs/katmai.h
+++ b/include/configs/katmai.h
@@ -145,7 +145,6 @@
/*
* Commands additional to the ones defined in amcc-common.h
*/
-#define CONFIG_CMD_ECCTEST
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/t3corp.h b/include/configs/t3corp.h
index 964115f980..ed5aaa2a63 100644
--- a/include/configs/t3corp.h
+++ b/include/configs/t3corp.h
@@ -349,7 +349,6 @@
/*
* Commands additional to the ones defined in amcc-common.h
*/
-#define CONFIG_CMD_ECCTEST
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SDRAM
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index ac9d0d8572..0eb7c2a055 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_ECCTEST
CONFIG_CMD_EECONFIG
CONFIG_CMD_EEPROM
CONFIG_CMD_EEPROM_LAYOUT