Simon Glass <s...@chromium.org> a écrit :

This converts the following to Kconfig:
   CONFIG_CMD_REGINFO

Signed-off-by: Simon Glass <s...@chromium.org>
---

 README                                             |   1 -
 arch/powerpc/cpu/mpc85xx/Kconfig                   |  11 +++
 cmd/Kconfig                                        |   6 ++
 .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |   1 -
 .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |   1 -
 .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |   1 -
 .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |   1 -
configs/MCR3000_defconfig | 100 +++++++++------------
 configs/MPC8536DS_36BIT_defconfig                  |   1 +
 configs/MPC8536DS_SDCARD_defconfig                 |   1 +
 configs/MPC8536DS_SPIFLASH_defconfig               |   1 +
 configs/MPC8536DS_defconfig                        |   1 +
 configs/MPC8541CDS_defconfig                       |   1 +
 configs/MPC8541CDS_legacy_defconfig                |   1 +
 configs/MPC8544DS_defconfig                        |   1 +
 configs/MPC8555CDS_defconfig                       |   1 +
 configs/MPC8555CDS_legacy_defconfig                |   1 +
 configs/MPC8568MDS_defconfig                       |   1 +
 configs/MPC8569MDS_ATM_defconfig                   |   1 +
 configs/MPC8569MDS_defconfig                       |   1 +
 configs/MPC8572DS_36BIT_defconfig                  |   1 +
 configs/MPC8572DS_defconfig                        |   1 +
 configs/MPC8610HPCD_defconfig                      |   1 +
 configs/MPC8641HPCN_36BIT_defconfig                |   1 +
 configs/MPC8641HPCN_defconfig                      |   1 +
 .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
 .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
 configs/P1022DS_36BIT_NAND_defconfig               |   1 +
 configs/P1022DS_36BIT_SDCARD_defconfig             |   1 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig           |   1 +
 configs/P1022DS_36BIT_defconfig                    |   1 +
 configs/P1022DS_NAND_defconfig                     |   1 +
 configs/P1022DS_SDCARD_defconfig                   |   1 +
 configs/P1022DS_SPIFLASH_defconfig                 |   1 +
 configs/P1022DS_defconfig                          |   1 +
 configs/P1023RDB_defconfig                         |   1 +
 configs/TQM834x_defconfig                          |   1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   1 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |   1 +
 configs/qemu-ppce500_defconfig                     |   1 +
 configs/sbc8641d_defconfig                         |   1 +
 configs/socrates_defconfig                         |   1 +
 configs/xpedite517x_defconfig                      |   1 +
 configs/xpedite537x_defconfig                      |   1 +
 include/config_cmd_all.h                           |   1 -
 include/configs/B4860QDS.h                         |   1 -
 include/configs/BSC9131RDB.h                       |   1 -
 include/configs/BSC9132QDS.h                       |   1 -
 include/configs/C29XPCIE.h                         |   1 -
 include/configs/M5208EVBE.h                        |   1 -
 include/configs/M52277EVB.h                        |   1 -
 include/configs/M5235EVB.h                         |   1 -
 include/configs/M53017EVB.h                        |   1 -
 include/configs/M5329EVB.h                         |   1 -
 include/configs/M5373EVB.h                         |   1 -
 include/configs/M54418TWR.h                        |   1 -
 include/configs/M54451EVB.h                        |   1 -
 include/configs/M54455EVB.h                        |   1 -
 include/configs/M5475EVB.h                         |   1 -
 include/configs/M5485EVB.h                         |   1 -
 include/configs/MCR3000.h                          |   1 -
 include/configs/MPC8536DS.h                        |   1 -
 include/configs/MPC8541CDS.h                       |   1 -
 include/configs/MPC8544DS.h                        |   1 -
 include/configs/MPC8548CDS.h                       |   1 -
 include/configs/MPC8555CDS.h                       |   1 -
 include/configs/MPC8560ADS.h                       |   1 -
 include/configs/MPC8568MDS.h                       |   1 -
 include/configs/MPC8569MDS.h                       |   1 -
 include/configs/MPC8572DS.h                        |   1 -
 include/configs/MPC8610HPCD.h                      |   2 -
 include/configs/MPC8641HPCN.h                      |   1 -
 include/configs/P1010RDB.h                         |   1 -
 include/configs/P1022DS.h                          |   1 -
 include/configs/P1023RDB.h                         |   1 -
 include/configs/T102xQDS.h                         |   1 -
 include/configs/T102xRDB.h                         |   1 -
 include/configs/T1040QDS.h                         |   1 -
 include/configs/T104xRDB.h                         |   1 -
 include/configs/T208xQDS.h                         |   1 -
 include/configs/T208xRDB.h                         |   1 -
 include/configs/T4240RDB.h                         |   2 -
 include/configs/TQM834x.h                          |   1 -
 include/configs/UCP1020.h                          |   1 -
 include/configs/astro_mcf5373l.h                   |   1 -
 include/configs/controlcenterd.h                   |   3 -
 include/configs/corenet_ds.h                       |   1 -
 include/configs/cyrus.h                            |   1 -
 include/configs/dragonboard410c.h                  |   1 -
 include/configs/p1_p2_rdb_pc.h                     |   1 -
 include/configs/p1_twr.h                           |   1 -
 include/configs/qemu-ppce500.h                     |   2 -
 include/configs/s5p_goni.h                         |   2 -
 include/configs/sbc8548.h                          |   1 -
 include/configs/sbc8641d.h                         |   2 -
 include/configs/smdkc100.h                         |   2 -
 include/configs/socrates.h                         |   1 -
 include/configs/t4qds.h                            |   2 -
 include/configs/vct.h                              |   1 -
 include/configs/xilinx-ppc.h                       |   1 -
 include/configs/xpedite517x.h                      |   1 -
 include/configs/xpedite520x.h                      |   1 -
 include/configs/xpedite537x.h                      |   1 -
 include/configs/xpedite550x.h                      |   1 -
 scripts/config_whitelist.txt                       |   1 -
 105 files changed, 95 insertions(+), 135 deletions(-)

diff --git a/README b/README
index 8dc75009d1..f5558eb9f1 100644
--- a/README
+++ b/README
@@ -815,7 +815,6 @@ The following options need to be configured:
                CONFIG_CMD_NFS            NFS support
                CONFIG_CMD_PING         * send ICMP ECHO_REQUEST to network
                                          host
-               CONFIG_CMD_REGINFO      * Register dump
                CONFIG_CMD_RUN            run command in env variable
                CONFIG_CMD_SANDBOX      * sb command to access sandbox features
                CONFIG_CMD_SAVES        * save S record dump
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index 11030d6180..450456d622 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -553,6 +553,7 @@ config ARCH_MPC8548
        select SYS_FSL_SEC_BE
        select SYS_FSL_SEC_COMPAT_2
        select SYS_PPC_E500_USE_DEBUG_TLB
+       imply CMD_REGINFO


Why implying it for each arch instead of implying it for all 85xx ?

 config ARCH_MPC8555
        bool
@@ -655,6 +656,7 @@ config ARCH_P1020
        select FSL_ELBC
        imply CMD_SATA
        imply CMD_PCI
+       imply CMD_REGINFO

 config ARCH_P1021
        bool
@@ -671,6 +673,7 @@ config ARCH_P1021
        select FSL_ELBC
        imply CMD_SATA
        imply CMD_MTDPARTS
+       imply CMD_REGINFO

 config ARCH_P1022
        bool
@@ -716,6 +719,7 @@ config ARCH_P1024
        imply CMD_EEPROM
        imply CMD_SATA
        imply CMD_PCI
+       imply CMD_REGINFO

 config ARCH_P1025
        bool
@@ -731,6 +735,7 @@ config ARCH_P1025
        select SYS_PPC_E500_USE_DEBUG_TLB
        select FSL_ELBC
        imply CMD_SATA
+       imply CMD_REGINFO

 config ARCH_P2020
        bool
@@ -747,6 +752,7 @@ config ARCH_P2020
        select SYS_PPC_E500_USE_DEBUG_TLB
        select FSL_ELBC
        imply CMD_EEPROM
+       imply CMD_REGINFO

 config ARCH_P2041
        bool
@@ -794,6 +800,7 @@ config ARCH_P3041
        select SYS_FSL_SEC_COMPAT_4
        select FSL_ELBC
        imply CMD_SATA
+       imply CMD_REGINFO

 config ARCH_P4080
        bool
@@ -830,6 +837,7 @@ config ARCH_P4080
        select SYS_FSL_SEC_COMPAT_4
        select FSL_ELBC
        imply CMD_SATA
+       imply CMD_REGINFO

 config ARCH_P5020
        bool
@@ -852,6 +860,7 @@ config ARCH_P5020
        select SYS_PPC64
        select FSL_ELBC
        imply CMD_SATA
+       imply CMD_REGINFO

 config ARCH_P5040
        bool
@@ -874,6 +883,7 @@ config ARCH_P5040
        select SYS_PPC64
        select FSL_ELBC
        imply CMD_SATA
+       imply CMD_REGINFO

 config ARCH_QEMU_E500
        bool
@@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB

 config FSL_IFC
        bool
+       imply CMD_REGINFO

 config FSL_ELBC
        bool
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2546ef61f6..354949f132 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -792,6 +792,12 @@ config CMD_READ
        help
          Provides low-level access to the data in a partition.

+config CMD_REGINFO
+       bool "reginfo - Print register information"
+       depends on PPC
+       help
+         Provides access to low-level register information.
+
 endmenu

As far as I can see only 8xx 85xx and 86xx have it
See reginfo.c, for all other it just returns blank



diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
index 87ea4b0064..e8c548286b 100644
--- a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
+++ b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y

Does this have anything to do with CMD_REGINFO ?

 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
index a59ffc652c..3afb011012 100644
--- a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
+++ b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
index 2292dc16c7..c5d17bc516 100644
--- a/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
+++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
index 5450a0f398..ba0772c07d 100644
--- a/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
+++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MCR3000_defconfig b/configs/MCR3000_defconfig
index 562face283..c8f45d6747 100644
--- a/configs/MCR3000_defconfig
+++ b/configs/MCR3000_defconfig
@@ -1,47 +1,19 @@
 CONFIG_PPC=y
 CONFIG_8xx=y
 CONFIG_TARGET_MCR3000=y
-CONFIG_BOOTDELAY=5
-CONFIG_HUSH_PARSER=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_NET=y
-CONFIG_CMD_DHCP=y
-# CONFIG_LED_STATUS_BOARD_SPECIFIC is not set
-# CONFIG_MMC is not set
-CONFIG_MTD_NOR_FLASH=y
-# CONFIG_PCI is not set
-CONFIG_OF_LIBFDT=y
-CONFIG_SYS_PROMPT="S3K> "
-CONFIG_NETDEVICES=y
-CONFIG_MPC8XX_FEC=y
-
-CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_FLASH=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_ASKENV=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_CMD_NAND=y
-# CONFIG_CMD_BDI is not set
-# CONFIG_CMD_ECHO is not set
-# CONFIG_CMD_FPGA is not set
-# CONFIG_CMD_IMI is not set
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_ITEST is not set
-# CONFIG_CMD_CONSOLE is not set
-# CONFIG_CMD_LOADB is not set
-# CONFIG_CMD_LOADS is not set
-# CONFIG_CMD_MD5SUM is not set
-# CONFIG_CMD_MISC is not set
-# CONFIG_CMD_SETGETDCR is not set
-# CONFIG_CMD_SHA1 is not set
-# CONFIG_CMD_SOURCE is not set
+CONFIG_8xx_GCLK_FREQ=132000000
 CONFIG_CMD_IMMAP=y
-
-CONFIG_SYS_IMMR=0xFF000000
-
-CONFIG_SYS_OR0_PRELIM=0xFFC00926
+CONFIG_SYS_SIUMCR=0x00600400
+CONFIG_SYS_SYPCR=0xFFFFFF8F
+CONFIG_SYS_TBSCR=0x00C3
+CONFIG_SYS_PISCR=0x0000
+CONFIG_SYS_PLPRCR_BOOL=y
+CONFIG_SYS_PLPRCR=0x00460004
+CONFIG_SYS_SCCR=0x00C20000
+CONFIG_SYS_SCCR_MASK=0x60000000
+CONFIG_SYS_DER=0x2002000F
 CONFIG_SYS_BR0_PRELIM=0x04000801
+CONFIG_SYS_OR0_PRELIM=0xFFC00926
 CONFIG_SYS_BR1_PRELIM_BOOL=y
 CONFIG_SYS_BR1_PRELIM=0x00000081
 CONFIG_SYS_OR1_PRELIM=0xFE000E00
@@ -63,26 +35,38 @@ CONFIG_SYS_OR6_PRELIM=0xFFFF0908
 CONFIG_SYS_BR7_PRELIM_BOOL=y
 CONFIG_SYS_BR7_PRELIM=0x1C000001
 CONFIG_SYS_OR7_PRELIM=0xFFFF810A
-
-CONFIG_8xx_GCLK_FREQ=132000000
-
-CONFIG_SYS_SYPCR=0xFFFFFF8F
-CONFIG_SYS_SIUMCR=0x00600400
-CONFIG_SYS_TBSCR=0x00C3
-CONFIG_SYS_PISCR=0x0000
-CONFIG_SYS_PLPRCR_BOOL=y
-CONFIG_SYS_PLPRCR=0x00460004
-CONFIG_SYS_SCCR_MASK=0x60000000
-CONFIG_SYS_SCCR=0x00C20000
-CONFIG_SYS_DER=0x2002000F
-
-CONFIG_AUTOBOOT=y
+CONFIG_SYS_IMMR=0xFF000000
+CONFIG_OF_BOARD_SETUP=y
+CONFIG_BOOTDELAY=5
+CONFIG_HUSH_PARSER=y
+CONFIG_SYS_PROMPT="S3K> "
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="\nEnter password - autoboot in %d sec...\n"
 CONFIG_AUTOBOOT_DELAY_STR="root"
-
-CONFIG_OF_BOARD_SETUP=y
-
-CONFIG_LZMA=y
+# CONFIG_CMD_BDI is not set
+# CONFIG_CMD_CONSOLE is not set
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_IMLS is not set
+CONFIG_CMD_ASKENV=y
+# CONFIG_CMD_LOADB is not set
+# CONFIG_CMD_LOADS is not set
+CONFIG_CMD_NAND=y
+# CONFIG_CMD_FPGA is not set
+CONFIG_CMD_REGINFO=y
+# CONFIG_CMD_ECHO is not set
+# CONFIG_CMD_ITEST is not set
+# CONFIG_CMD_SOURCE is not set
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
+# CONFIG_CMD_MISC is not set
+CONFIG_CMD_MTDPARTS=y
+# CONFIG_MMC is not set
+CONFIG_MTD_NOR_FLASH=y
+CONFIG_NETDEVICES=y
+CONFIG_MPC8XX_FEC=y
+# CONFIG_PCI is not set
 CONFIG_SHA256=y
-
+CONFIG_LZMA=y
+CONFIG_OF_LIBFDT=y
diff --git a/configs/MPC8536DS_36BIT_defconfig b/configs/MPC8536DS_36BIT_defconfig
index 9a299245ad..f588004c66 100644
--- a/configs/MPC8536DS_36BIT_defconfig
+++ b/configs/MPC8536DS_36BIT_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8536DS_SDCARD_defconfig b/configs/MPC8536DS_SDCARD_defconfig
index bb1ad0a014..7d03f51b43 100644
--- a/configs/MPC8536DS_SDCARD_defconfig
+++ b/configs/MPC8536DS_SDCARD_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8536DS_SPIFLASH_defconfig b/configs/MPC8536DS_SPIFLASH_defconfig
index 09a0689a44..cc4be93b4d 100644
--- a/configs/MPC8536DS_SPIFLASH_defconfig
+++ b/configs/MPC8536DS_SPIFLASH_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8536DS_defconfig b/configs/MPC8536DS_defconfig
index 06a2bb6141..47e12ef95d 100644
--- a/configs/MPC8536DS_defconfig
+++ b/configs/MPC8536DS_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8541CDS_defconfig b/configs/MPC8541CDS_defconfig
index 65b7aab840..6c76cbf84b 100644
--- a/configs/MPC8541CDS_defconfig
+++ b/configs/MPC8541CDS_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8541CDS_legacy_defconfig b/configs/MPC8541CDS_legacy_defconfig
index 2bf0a0a995..3c4a58126e 100644
--- a/configs/MPC8541CDS_legacy_defconfig
+++ b/configs/MPC8541CDS_legacy_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8544DS_defconfig b/configs/MPC8544DS_defconfig
index 884f47ae75..62469816e0 100644
--- a/configs/MPC8544DS_defconfig
+++ b/configs/MPC8544DS_defconfig
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8555CDS_defconfig b/configs/MPC8555CDS_defconfig
index 6681ca6e5f..9aba0da1fa 100644
--- a/configs/MPC8555CDS_defconfig
+++ b/configs/MPC8555CDS_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8555CDS_legacy_defconfig b/configs/MPC8555CDS_legacy_defconfig
index 7b7b55c0ed..4e3ad8c8ba 100644
--- a/configs/MPC8555CDS_legacy_defconfig
+++ b/configs/MPC8555CDS_legacy_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8568MDS_defconfig b/configs/MPC8568MDS_defconfig
index 9d5e8bcec2..d84168aa86 100644
--- a/configs/MPC8568MDS_defconfig
+++ b/configs/MPC8568MDS_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8569MDS_ATM_defconfig b/configs/MPC8569MDS_ATM_defconfig
index 77851961aa..62576c15cf 100644
--- a/configs/MPC8569MDS_ATM_defconfig
+++ b/configs/MPC8569MDS_ATM_defconfig
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8569MDS_defconfig b/configs/MPC8569MDS_defconfig
index ec7bb61357..af2a5aa1e6 100644
--- a/configs/MPC8569MDS_defconfig
+++ b/configs/MPC8569MDS_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8572DS_36BIT_defconfig b/configs/MPC8572DS_36BIT_defconfig
index e705535ae3..7f8dec1005 100644
--- a/configs/MPC8572DS_36BIT_defconfig
+++ b/configs/MPC8572DS_36BIT_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8572DS_defconfig b/configs/MPC8572DS_defconfig
index 8d362fc227..3bf174189d 100644
--- a/configs/MPC8572DS_defconfig
+++ b/configs/MPC8572DS_defconfig
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8610HPCD_defconfig b/configs/MPC8610HPCD_defconfig
index b95d3cbc17..3368e85b84 100644
--- a/configs/MPC8610HPCD_defconfig
+++ b/configs/MPC8610HPCD_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8641HPCN_36BIT_defconfig b/configs/MPC8641HPCN_36BIT_defconfig
index c3345aede8..e56b748b31 100644
--- a/configs/MPC8641HPCN_36BIT_defconfig
+++ b/configs/MPC8641HPCN_36BIT_defconfig
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
diff --git a/configs/MPC8641HPCN_defconfig b/configs/MPC8641HPCN_defconfig
index 8bc4ecc2b9..a99c63c592 100644
--- a/configs/MPC8641HPCN_defconfig
+++ b/configs/MPC8641HPCN_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
index 739a1120f3..382f3c6f91 100644
--- a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
+++ b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
@@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
index cfa9455ec1..2936d20eb4 100644
--- a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
+++ b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
@@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1022DS_36BIT_NAND_defconfig b/configs/P1022DS_36BIT_NAND_defconfig
index f2344702d6..43a8a8a933 100644
--- a/configs/P1022DS_36BIT_NAND_defconfig
+++ b/configs/P1022DS_36BIT_NAND_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_36BIT_SDCARD_defconfig b/configs/P1022DS_36BIT_SDCARD_defconfig
index 8993dda8da..225fa23b89 100644
--- a/configs/P1022DS_36BIT_SDCARD_defconfig
+++ b/configs/P1022DS_36BIT_SDCARD_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_36BIT_SPIFLASH_defconfig b/configs/P1022DS_36BIT_SPIFLASH_defconfig
index 6170f41648..ec5d89626f 100644
--- a/configs/P1022DS_36BIT_SPIFLASH_defconfig
+++ b/configs/P1022DS_36BIT_SPIFLASH_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_36BIT_defconfig b/configs/P1022DS_36BIT_defconfig
index 0102a62b53..c747eb6b08 100644
--- a/configs/P1022DS_36BIT_defconfig
+++ b/configs/P1022DS_36BIT_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_NAND_defconfig b/configs/P1022DS_NAND_defconfig
index 7069267cd7..c3274555ba 100644
--- a/configs/P1022DS_NAND_defconfig
+++ b/configs/P1022DS_NAND_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_SDCARD_defconfig b/configs/P1022DS_SDCARD_defconfig
index 2589a7137e..5024e37b6b 100644
--- a/configs/P1022DS_SDCARD_defconfig
+++ b/configs/P1022DS_SDCARD_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_SPIFLASH_defconfig b/configs/P1022DS_SPIFLASH_defconfig
index b664bac9b5..9b683ac0d0 100644
--- a/configs/P1022DS_SPIFLASH_defconfig
+++ b/configs/P1022DS_SPIFLASH_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_defconfig b/configs/P1022DS_defconfig
index ecca46d416..2364250538 100644
--- a/configs/P1022DS_defconfig
+++ b/configs/P1022DS_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1023RDB_defconfig b/configs/P1023RDB_defconfig
index 55481b86e1..8cad90f2df 100644
--- a/configs/P1023RDB_defconfig
+++ b/configs/P1023RDB_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
index 2ee7fcd902..21c002ba63 100644
--- a/configs/TQM834x_defconfig
+++ b/configs/TQM834x_defconfig
@@ -9,6 +9,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
index 99200da9bb..a12ffc57b3 100644
--- a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
diff --git a/configs/controlcenterd_36BIT_SDCARD_defconfig b/configs/controlcenterd_36BIT_SDCARD_defconfig
index f409d95d8a..93b92c1d98 100644
--- a/configs/controlcenterd_36BIT_SDCARD_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
index 777ba9c4c4..c94e76186f 100644
--- a/configs/qemu-ppce500_defconfig
+++ b/configs/qemu-ppce500_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/sbc8641d_defconfig b/configs/sbc8641d_defconfig
index ee4ec6fa1f..30754dd5ef 100644
--- a/configs/sbc8641d_defconfig
+++ b/configs/sbc8641d_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_DOS_PARTITION=y
diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
index 1fc772260f..76943a633a 100644
--- a/configs/socrates_defconfig
+++ b/configs/socrates_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/xpedite517x_defconfig b/configs/xpedite517x_defconfig
index 9afc57c11e..a2eb6f154d 100644
--- a/configs/xpedite517x_defconfig
+++ b/configs/xpedite517x_defconfig
@@ -11,6 +11,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/xpedite537x_defconfig b/configs/xpedite537x_defconfig
index 63b0e40fc5..a848fac769 100644
--- a/configs/xpedite537x_defconfig
+++ b/configs/xpedite537x_defconfig
@@ -12,6 +12,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 2a59976550..aa570a1b56 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */

 #define CONFIG_CMD_NAND                /* NAND support                 */
-#define CONFIG_CMD_REGINFO     /* Register dump                */
 #define CONFIG_CMD_REISER      /* Reiserfs support             */
 #define CONFIG_CMD_SANDBOX     /* sb command to access sandbox features */
 #define CONFIG_CMD_SAVES       /* save S record dump           */
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index bcd5827e69..a95193fb88 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -702,7 +702,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

The above comment should then go, shoukdn't it ?


 /*
 * USB
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index 9c0e4659f9..2c9c456f36 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index ea1547f873..9281df3886 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -518,7 +518,6 @@ combinations. this should be removed later
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index 9820dca3bf..784e65ecf3 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -434,7 +434,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
index f8b1d4af38..fe4a230b46 100644
--- a/include/configs/M5208EVBE.h
+++ b/include/configs/M5208EVBE.h
@@ -21,7 +21,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT                5000

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
index fc9b26ff46..15bbbd6b57 100644
--- a/include/configs/M52277EVB.h
+++ b/include/configs/M52277EVB.h
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #define CONFIG_HOSTNAME                        M52277EVB
 #define CONFIG_SYS_UBOOT_END           0x3FFFF
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index e2c3e1ae2d..83a01fe801 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -34,7 +34,6 @@
 #define CONFIG_BOOTP_HOSTNAME

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
index b88c3709c6..55e1163a83 100644
--- a/include/configs/M53017EVB.h
+++ b/include/configs/M53017EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT                5000

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #define CONFIG_SYS_UNIFY_CACHE

diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index 999bcd9495..0f6cf6f898 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -26,7 +26,6 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #ifdef CONFIG_NANDFLASH_SIZE
 #      define CONFIG_CMD_NAND
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index 3a39e5031d..99868a35e3 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT        3360    /* timeout in ms, max is 3.36 
sec */

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #ifdef CONFIG_NANDFLASH_SIZE
 #      define CONFIG_CMD_NAND
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
index 09e21a8359..7201f9026e 100644
--- a/include/configs/M54418TWR.h
+++ b/include/configs/M54418TWR.h
@@ -38,7 +38,6 @@

 /* Command line configuration */
 #undef CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO

 /*
  * NAND FLASH
diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
index 7d6edda361..3c1cd9c837 100644
--- a/include/configs/M54451EVB.h
+++ b/include/configs/M54451EVB.h
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 /* Network configuration */
 #define CONFIG_MCFFEC
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index ab7e7aef94..2376a19a47 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 /* Network configuration */
 #define CONFIG_MCFFEC
diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
index 5d87d0d95b..15e648f294 100644
--- a/include/configs/M5475EVB.h
+++ b/include/configs/M5475EVB.h
@@ -26,7 +26,6 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #define CONFIG_SLTTMR

diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
index 6226fd67b6..8f0f92218b 100644
--- a/include/configs/M5485EVB.h
+++ b/include/configs/M5485EVB.h
@@ -26,7 +26,6 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */

 /* Command line configuration */
-#define CONFIG_CMD_REGINFO

 #define CONFIG_SLTTMR

diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h
index 15bb0e9d6a..7b36e51081 100644
--- a/include/configs/MCR3000.h
+++ b/include/configs/MCR3000.h
@@ -153,6 +153,5 @@
 #define BOOTFLAG_WARM                  0x02

 /* Misc Settings */
-#define CONFIG_CMD_REGINFO

 #endif /* __CONFIG_H */
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index 10bf1b000b..a5ba3bbf37 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -588,7 +588,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 816ff4b9a9..d912c6bd8b 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -342,7 +342,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index 3dff6376a3..0ab81dce4e 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -348,7 +348,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index c0fde19bad..be28500d78 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -461,7 +461,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index 9c8e3811f1..0c756129a7 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -340,7 +340,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index 23ba5f5e3a..b4ee029bfe 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -354,7 +354,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #if defined(CONFIG_ETHER_ON_FCC)
 #endif
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index 0bdcfb1b0d..3c335fe712 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -355,7 +355,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
index 2156460ff9..e16a6df1ba 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -448,7 +448,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 0917f542f9..1c846f57d5 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -547,7 +547,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index 8eae3072e6..3e00d646bf 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -262,8 +262,6 @@

 #define CONFIG_PCI_SCAN_SHOW           /* show pci devices on startup */

-#define CONFIG_CMD_REGINFO
-
 #define CONFIG_ULI526X
 #ifdef CONFIG_ULI526X
 #endif
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index a1e6303de7..e02c4f40b5 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -587,7 +587,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index c823958e5a..6c165a0b2c 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -720,7 +720,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 9ead71f245..896f74d5a3 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -591,7 +591,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index d676c1c819..4aa5e57518 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -241,7 +241,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index 514303486e..173588810d 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -777,7 +777,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index c4e79664d9..f87af6ba44 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -788,7 +788,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 417e2419bf..b8bda52f43 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -656,7 +656,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index da44aa05f1..6182c8d73c 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -770,7 +770,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 618ab1ec57..8558ba8ba0 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -742,7 +742,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index 3a43325523..682a87e732 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -688,7 +688,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 878f120c45..63fed3c3cc 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -56,8 +56,6 @@

 #define CONFIG_DDR_ECC

-#define CONFIG_CMD_REGINFO
-
 /* High Level Configuration Options */
 #define CONFIG_SYS_BOOK3E_HV           /* Category E.HV supported */
 #define CONFIG_MP                      /* support multiple processors */
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index 8c12eb1704..e2667f9632 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -273,7 +273,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index ccaa89d7cf..8f3f5f910e 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -418,7 +418,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h
index 61989d6bab..61f0d7a938 100644
--- a/include/configs/astro_mcf5373l.h
+++ b/include/configs/astro_mcf5373l.h
@@ -59,7 +59,6 @@

 /* Define which commands should be available at u-boot command prompt */

-#define CONFIG_CMD_REGINFO
 #define CONFIG_CMDLINE_EDITING

 #define CONFIG_MCFRTC
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index 0fa1b76b7e..e35ded6977 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -338,9 +338,6 @@
 #define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE

 #ifndef CONFIG_TRAILBLAZER
-
-#define CONFIG_CMD_REGINFO
-
 /*
  * Board initialisation callbacks
  */
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 4a62662e42..e6648bda46 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -592,7 +592,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
 * USB
diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
index 6f877a8ac8..4b75bce969 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -410,7 +410,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index 11c842d952..712e11725b 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -49,7 +49,6 @@
 /* Enable that for switching of boot partitions */
 /* Disabled by default as some sub-commands can brick eMMC */
 /*#define CONFIG_SUPPORT_EMMC_BOOT */
-#define CONFIG_CMD_REGINFO     /* Register dump                */
 #define CONFIG_CMD_TFTP

 /* Partition table support */
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index e7cbfd5192..6b89bab058 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -807,7 +807,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index a4a6cf2b6f..560b4380d3 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -380,7 +380,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 /*
  * USB
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 9782813cdf..cdca1a27ef 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -10,8 +10,6 @@
 #ifndef __QEMU_PPCE500_H
 #define __QEMU_PPCE500_H

-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_TEXT_BASE   0xf01000 /* 15 MB */

diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index dcfd483f3d..108b573a11 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -51,8 +51,6 @@
 /* PWM */
 #define CONFIG_PWM                     1

-#define CONFIG_CMD_REGINFO
-
 /* USB Composite download gadget - g_dnl */
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
 #define DFU_DEFAULT_POLL_TIMEOUT 300
diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h
index 16c10da122..b3de6545b2 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -511,7 +511,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h
index 0e8e703691..175a6407f9 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -451,8 +451,6 @@
 #define CONFIG_LOADS_ECHO      1       /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE   1       /* allow baudrate change */

-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */

 /*
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index 0580c8ceda..e24721bb32 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -61,8 +61,6 @@
  ***********************************************************/
 #undef CONFIG_CMD_NAND

-#define CONFIG_CMD_REGINFO
-
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS

diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index ef2cd7540a..89119dd14a 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -280,7 +280,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_REGINFO

 #undef CONFIG_WATCHDOG                 /* watchdog disabled            */

diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index 23b6bf0361..ce138f843f 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -10,8 +10,6 @@
 #ifndef __T4QDS_H
 #define __T4QDS_H

-#define CONFIG_CMD_REGINFO
-
 /* High Level Configuration Options */
 #define CONFIG_SYS_BOOK3E_HV           /* Category E.HV supported */
 #define CONFIG_MP                      /* support multiple processors */
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 08ac7e0c2a..07e2d9e898 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -247,7 +247,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_REGINFO
 #undef CONFIG_CMD_STRINGS
 #undef CONFIG_CMD_TERMINAL

diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index 924e0d11e7..e24b2f2e42 100644
--- a/include/configs/xilinx-ppc.h
+++ b/include/configs/xilinx-ppc.h
@@ -24,7 +24,6 @@
 #define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 128 * 1024)

 /*Cmd*/
-#define CONFIG_CMD_REGINFO

 /*Misc*/
 #define CONFIG_SYS_LONGHELP            /* undef to save memory         */
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index 1848d9f444..87cdd2a3fd 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 881ef3188d..afa03157ab 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index ad2490f456..73ae952c29 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 9fccd563fa..9f9e4bc5bd 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO

 /*
  * Miscellaneous configurable options
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d3344bfebf..54a018144f 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_REGINFO
 CONFIG_CMD_REISER
 CONFIG_CMD_SANDBOX
 CONFIG_CMD_SAVES
--
2.14.0.rc0.284.gd933b75aa4-goog

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to