Convert CONFIG_CMD_ECCTEST to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:08 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 12:37:13 +0000 (08:37 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_ECCTEST

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/powerpc/cpu/ppc4xx/Kconfig
configs/katmai_defconfig
configs/t3corp_defconfig
include/configs/katmai.h
include/configs/t3corp.h
scripts/config_whitelist.txt

index 38121c14274cd938d00edeea5541c72986e460b5..77e8fd458e5586786af8d39fd49d581600b9d8b0 100644 (file)
@@ -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"
index 406bdcd69649ac9fc9722b1c86cb90ee4bb3d1ef..baa266e167c3343c6b1a0232c311318ebd3033ef 100644 (file)
@@ -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
index 21c4c892124c1f501cb88e71cbb24efbc45fdd90..2e5416e03b08c1b073bdcef038fcbfc781849f59 100644 (file)
@@ -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
index c3b9da0d96a7603f59d808e8952bd7cd37f00661..3f39a26d3ba01e7e510d402f63c37b2c7d1e837e 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_ECCTEST
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
 
index 964115f980c28350d4ccf9f8c4e625716a400fdf..ed5aaa2a635f5d5029b76af11e73af33aed7ca96 100644 (file)
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_ECCTEST
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
 
index ac9d0d8572ab628995f749309bc7b64565167e7f..0eb7c2a05590e1bbff1ca035d358838e0280091e 100644 (file)
@@ -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