Skip to contentSkip to conversation

Kconfig: Convert remaining commands to Kconfig

PATCH Superseded Simon Glass 4 participants 88 messages Jul 21, 2017 – Aug 5, 2017 Page 2 of 2

Subsystems (17)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#34 lore raw

PATCH 16/41 Convert CONFIG_CMD_REGINFO to Kconfig

In reply to Simon Glass

Hi Simon,

Quoted 210 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_REGINFO

---

 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(-)
README +0 -1
index 8dc75009d1..f5558eb9f1 100644
@@ -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
arch/powerpc/cpu/mpc85xx/Kconfig +10 -0
index 11030d6180..450456d622 100644
@@ -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
 
 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

arch/powerpc/cpu/mpc85xx/Kconfig config SYS_PPC_E500_USE_DEBUG_TLB · line 1393

Quoted 4 lines
arch/powerpc/cpu/mpc85xx/Kconfig +1 -0
@@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB
 
 config FSL_IFC
        bool
+       imply CMD_REGINFO

This change is wrong. FSL_IFC is not the right place to "imply CMD_REGINFO". I suspect this is a corner case that moveconfig cannot handle?

Quoted 25 lines
arch/powerpc/cpu/mpc85xx/Kconfig +0 -0
 config FSL_ELBC
        bool
cmd/Kconfig +6 -0
index 2546ef61f6..354949f132 100644
@@ -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
 
 
configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig +0 -0
index 87ea4b0064..e8c548286b 100644

configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig CONFIG_CMD_MMC=y · line 18

Quoted 4 lines
configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig +0 -1
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y

This should really be in patch [10/41].

configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig CONFIG_CMD_MMC=y · line 18

Quoted 12 lines
configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig +0 -0
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig +0 -1
index a59ffc652c..3afb011012 100644
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y

This should really be in patch [10/41].

configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig CONFIG_CMD_MMC=y · line 18

Quoted 12 lines
configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig +0 -0
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig +0 -1
index 2292dc16c7..c5d17bc516 100644
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y

This should really be in patch [10/41].

configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig CONFIG_CMD_MMC=y · line 18

Quoted 12 lines
configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig +0 -0
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig +0 -1
index 5450a0f398..ba0772c07d 100644
@@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y

This should really be in patch [10/41].

Quoted 129 lines
configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig +0 -0
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/MCR3000_defconfig +42 -58
index 562face283..c8f45d6747 100644
@@ -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
configs/MPC8536DS_36BIT_defconfig +0 -0
index 9a299245ad..f588004c66 100644

configs/MPC8536DS_36BIT_defconfig CONFIG_CMD_SF=y · line 18

Quoted 4 lines
configs/MPC8536DS_36BIT_defconfig +1 -0
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y

This can be avoided if we update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_MPC8536". Please fix other similar issues in this commit.

Quoted 442 lines
configs/MPC8536DS_36BIT_defconfig +0 -0
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/MPC8536DS_SDCARD_defconfig +1 -0
index bb1ad0a014..7d03f51b43 100644
@@ -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
configs/MPC8536DS_SPIFLASH_defconfig +1 -0
index 09a0689a44..cc4be93b4d 100644
@@ -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
configs/MPC8536DS_defconfig +1 -0
index 06a2bb6141..47e12ef95d 100644
@@ -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
configs/MPC8541CDS_defconfig +1 -0
index 65b7aab840..6c76cbf84b 100644
@@ -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
configs/MPC8541CDS_legacy_defconfig +1 -0
index 2bf0a0a995..3c4a58126e 100644
@@ -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
configs/MPC8544DS_defconfig +1 -0
index 884f47ae75..62469816e0 100644
@@ -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
configs/MPC8555CDS_defconfig +1 -0
index 6681ca6e5f..9aba0da1fa 100644
@@ -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
configs/MPC8555CDS_legacy_defconfig +1 -0
index 7b7b55c0ed..4e3ad8c8ba 100644
@@ -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
configs/MPC8568MDS_defconfig +1 -0
index 9d5e8bcec2..d84168aa86 100644
@@ -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
configs/MPC8569MDS_ATM_defconfig +1 -0
index 77851961aa..62576c15cf 100644
@@ -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
configs/MPC8569MDS_defconfig +1 -0
index ec7bb61357..af2a5aa1e6 100644
@@ -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
configs/MPC8572DS_36BIT_defconfig +1 -0
index e705535ae3..7f8dec1005 100644
@@ -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
configs/MPC8572DS_defconfig +1 -0
index 8d362fc227..3bf174189d 100644
@@ -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
configs/MPC8610HPCD_defconfig +1 -0
index b95d3cbc17..3368e85b84 100644
@@ -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
configs/MPC8641HPCN_36BIT_defconfig +1 -0
index c3345aede8..e56b748b31 100644
@@ -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
configs/MPC8641HPCN_defconfig +1 -0
index 8bc4ecc2b9..a99c63c592 100644
@@ -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
configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig +1 -1
index 739a1120f3..382f3c6f91 100644
@@ -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
configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig +1 -1
index cfa9455ec1..2936d20eb4 100644
@@ -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
configs/P1022DS_36BIT_NAND_defconfig +1 -0
index f2344702d6..43a8a8a933 100644
@@ -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
configs/P1022DS_36BIT_SDCARD_defconfig +1 -0
index 8993dda8da..225fa23b89 100644
@@ -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
configs/P1022DS_36BIT_SPIFLASH_defconfig +1 -0
index 6170f41648..ec5d89626f 100644
@@ -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
configs/P1022DS_36BIT_defconfig +1 -0
index 0102a62b53..c747eb6b08 100644
@@ -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
configs/P1022DS_NAND_defconfig +1 -0
index 7069267cd7..c3274555ba 100644
@@ -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
configs/P1022DS_SDCARD_defconfig +1 -0
index 2589a7137e..5024e37b6b 100644
@@ -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
configs/P1022DS_SPIFLASH_defconfig +1 -0
index b664bac9b5..9b683ac0d0 100644
@@ -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
configs/P1022DS_defconfig +1 -0
index ecca46d416..2364250538 100644
@@ -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
configs/P1023RDB_defconfig +1 -0
index 55481b86e1..8cad90f2df 100644
@@ -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
configs/TQM834x_defconfig +1 -0
index 2ee7fcd902..21c002ba63 100644
@@ -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
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig +1 -0
index 99200da9bb..a12ffc57b3 100644
@@ -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
configs/controlcenterd_36BIT_SDCARD_defconfig +1 -0
index f409d95d8a..93b92c1d98 100644
@@ -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
configs/qemu-ppce500_defconfig +1 -0
index 777ba9c4c4..c94e76186f 100644
@@ -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
configs/sbc8641d_defconfig +1 -0
index ee4ec6fa1f..30754dd5ef 100644
@@ -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
configs/socrates_defconfig +1 -0
index 1fc772260f..76943a633a 100644
@@ -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
configs/xpedite517x_defconfig +1 -0
index 9afc57c11e..a2eb6f154d 100644
@@ -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
configs/xpedite537x_defconfig +1 -0
index 63b0e40fc5..a848fac769 100644
@@ -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
include/config_cmd_all.h +0 -1
index 2a59976550..aa570a1b56 100644
@@ -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           */
include/configs/B4860QDS.h +0 -0
index bcd5827e69..a95193fb88 100644

include/configs/B4860QDS.h unsigned long get_board_ddr_clk(void); · line 704

Quoted 3 lines
include/configs/B4860QDS.h +0 -0
@@ -702,7 +702,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */

The above comment should be removed as well.

include/configs/BSC9131RDB.h extern unsigned long get_sdram_size(void); · line 295

Quoted 12 lines
include/configs/B4860QDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
 * USB
include/configs/BSC9131RDB.h +0 -0
index 9c0e4659f9..2c9c456f36 100644
@@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */

The above comment should be removed as well.

include/configs/BSC9132QDS.h combinations. this should be removed later · line 520

Quoted 12 lines
include/configs/BSC9131RDB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/BSC9132QDS.h +0 -0
index ea1547f873..9281df3886 100644
@@ -518,7 +518,6 @@ combinations. this should be removed later
 /*
  * Command line configuration.
  */

The above comment should be removed as well.

include/configs/C29XPCIE.h line 436

Quoted 12 lines
include/configs/BSC9132QDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/C29XPCIE.h +0 -0
index 9820dca3bf..784e65ecf3 100644
@@ -434,7 +434,6 @@
 /*
  * Command line configuration.
  */

The above comment should be removed as well.

include/configs/M5208EVBE.h line 23

Quoted 12 lines
include/configs/C29XPCIE.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/M5208EVBE.h +0 -0
index f8b1d4af38..fe4a230b46 100644
@@ -21,7 +21,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT                5000
 
 /* Command line configuration */

ditto.

include/configs/M52277EVB.h line 38

Quoted 12 lines
include/configs/M5208EVBE.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
include/configs/M52277EVB.h +0 -0
index fc9b26ff46..15bbbd6b57 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */

ditto.

include/configs/M5235EVB.h line 36

Quoted 12 lines
include/configs/M52277EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_HOSTNAME                        M52277EVB
 #define CONFIG_SYS_UBOOT_END           0x3FFFF
include/configs/M5235EVB.h +0 -0
index e2c3e1ae2d..83a01fe801 100644
@@ -34,7 +34,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */

ditto.

include/configs/M53017EVB.h line 28

Quoted 12 lines
include/configs/M5235EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
include/configs/M53017EVB.h +0 -0
index b88c3709c6..55e1163a83 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT                5000
 
 /* Command line configuration */

ditto.

include/configs/M5329EVB.h line 28

Quoted 12 lines
include/configs/M53017EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SYS_UNIFY_CACHE
 
include/configs/M5329EVB.h +0 -0
index 999bcd9495..0f6cf6f898 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT        5000    /* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */

ditto.

include/configs/M5373EVB.h line 28

Quoted 12 lines
include/configs/M5329EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_NANDFLASH_SIZE
 #      define CONFIG_CMD_NAND
include/configs/M5373EVB.h +0 -0
index 3a39e5031d..99868a35e3 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT        3360    /* timeout in ms, max is 3.36 sec */
 
 /* Command line configuration */

ditto.

Quoted 21 lines
include/configs/M5373EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_NANDFLASH_SIZE
 #      define CONFIG_CMD_NAND
include/configs/M54418TWR.h +0 -1
index 09e21a8359..7201f9026e 100644
@@ -38,7 +38,6 @@
 
 /* Command line configuration */
 #undef CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * NAND FLASH
include/configs/M54451EVB.h +0 -0
index 7d6edda361..3c1cd9c837 100644

include/configs/M54451EVB.h line 38

Quoted 3 lines
include/configs/M54451EVB.h +0 -0
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */

ditto.

include/configs/M54455EVB.h line 38

Quoted 12 lines
include/configs/M54451EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /* Network configuration */
 #define CONFIG_MCFFEC
include/configs/M54455EVB.h +0 -0
index ab7e7aef94..2376a19a47 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */

ditto.

include/configs/M5475EVB.h line 28

Quoted 12 lines
include/configs/M54455EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /* Network configuration */
 #define CONFIG_MCFFEC
include/configs/M5475EVB.h +0 -0
index 5d87d0d95b..15e648f294 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT        5000    /* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */

ditto.

include/configs/M5485EVB.h line 28

Quoted 12 lines
include/configs/M5475EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
 
include/configs/M5485EVB.h +0 -0
index 6226fd67b6..8f0f92218b 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT        5000    /* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */

ditto.

include/configs/MCR3000.h line 155

Quoted 12 lines
include/configs/M5485EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
 
include/configs/MCR3000.h +0 -0
index 15bb0e9d6a..7b36e51081 100644
@@ -153,6 +153,5 @@
 #define BOOTFLAG_WARM                  0x02
 
 /* Misc Settings */

ditto.

include/configs/MPC8536DS.h line 590

Quoted 11 lines
include/configs/MCR3000.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #endif /* __CONFIG_H */
include/configs/MPC8536DS.h +0 -0
index 10bf1b000b..a5ba3bbf37 100644
@@ -588,7 +588,6 @@
 /*
  * Command line configuration.
  */

ditto.

include/configs/MPC8541CDS.h extern unsigned long get_clock_freq(void); · line 344

Quoted 12 lines
include/configs/MPC8536DS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/MPC8541CDS.h +0 -0
index 816ff4b9a9..d912c6bd8b 100644
@@ -342,7 +342,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */

ditto.

include/configs/MPC8544DS.h extern unsigned long get_board_sys_clk(unsigned long dummy); · line 350

Quoted 12 lines
include/configs/MPC8541CDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/MPC8544DS.h +0 -0
index 3dff6376a3..0ab81dce4e 100644
@@ -348,7 +348,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */

ditto.

include/configs/MPC8548CDS.h extern unsigned long get_clock_freq(void); · line 463

Quoted 12 lines
include/configs/MPC8544DS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/MPC8548CDS.h +0 -0
index c0fde19bad..be28500d78 100644
@@ -461,7 +461,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */

ditto.

include/configs/MPC8555CDS.h extern unsigned long get_clock_freq(void); · line 342

Quoted 12 lines
include/configs/MPC8548CDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/MPC8555CDS.h +0 -0
index 9c8e3811f1..0c756129a7 100644
@@ -340,7 +340,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */

ditto.

include/configs/MPC8560ADS.h line 356

Quoted 12 lines
include/configs/MPC8555CDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/MPC8560ADS.h +0 -0
index 23ba5f5e3a..b4ee029bfe 100644
@@ -354,7 +354,6 @@
 /*
  * Command line configuration.
  */

ditto.

include/configs/MPC8568MDS.h extern unsigned long get_clock_freq(void); · line 357

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

ditto.

include/configs/MPC8569MDS.h extern unsigned long get_clock_freq(void); · line 450

Quoted 12 lines
include/configs/MPC8568MDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/MPC8569MDS.h +0 -0
index 2156460ff9..e16a6df1ba 100644
@@ -448,7 +448,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */

ditto.

include/configs/MPC8572DS.h line 549

Quoted 12 lines
include/configs/MPC8569MDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/MPC8572DS.h +0 -0
index 0917f542f9..1c846f57d5 100644
@@ -547,7 +547,6 @@
 /*
  * Command line configuration.
  */

ditto.

Quoted 22 lines
include/configs/MPC8572DS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/MPC8610HPCD.h +0 -2
index 8eae3072e6..3e00d646bf 100644
@@ -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
include/configs/MPC8641HPCN.h +0 -0
index a1e6303de7..e02c4f40b5 100644

include/configs/MPC8641HPCN.h extern unsigned long get_board_sys_clk(unsigned long dummy); · line 589

Quoted 3 lines
include/configs/MPC8641HPCN.h +0 -0
@@ -587,7 +587,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */

ditto.

include/configs/P1010RDB.h extern unsigned long get_sdram_size(void); · line 722

Quoted 12 lines
include/configs/MPC8641HPCN.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/P1010RDB.h +0 -0
index c823958e5a..6c165a0b2c 100644
@@ -720,7 +720,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */

ditto.

include/configs/P1022DS.h line 593

Quoted 12 lines
include/configs/P1010RDB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/P1022DS.h +0 -0
index 9ead71f245..896f74d5a3 100644
@@ -591,7 +591,6 @@
 /*
  * Command line configuration.
  */

ditto.

include/configs/P1023RDB.h extern unsigned long get_clock_freq(void); · line 243

Quoted 12 lines
include/configs/P1022DS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/P1023RDB.h +0 -0
index d676c1c819..4aa5e57518 100644
@@ -241,7 +241,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */

ditto.

include/configs/T102xQDS.h unsigned long get_board_ddr_clk(void); · line 779

Quoted 12 lines
include/configs/P1023RDB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/T102xQDS.h +0 -0
index 514303486e..173588810d 100644
@@ -777,7 +777,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */

ditto.

Quoted 33 lines
include/configs/T102xQDS.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T102xRDB.h +0 -1
index c4e79664d9..f87af6ba44 100644
@@ -788,7 +788,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T1040QDS.h +0 -1
index 417e2419bf..b8bda52f43 100644
@@ -656,7 +656,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T104xRDB.h +0 -0
index da44aa05f1..6182c8d73c 100644

include/configs/T104xRDB.h $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg · line 772

Quoted 3 lines
include/configs/T104xRDB.h +0 -0
@@ -770,7 +770,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /*
  * Command line configuration.
  */

ditto.

Quoted 21 lines
include/configs/T104xRDB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T208xQDS.h +0 -1
index 618ab1ec57..8558ba8ba0 100644
@@ -742,7 +742,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T208xRDB.h +0 -0
index 3a43325523..682a87e732 100644

include/configs/T208xRDB.h unsigned long get_board_ddr_clk(void); · line 690

Quoted 3 lines
include/configs/T208xRDB.h +0 -0
@@ -688,7 +688,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */

ditto.

Quoted 34 lines
include/configs/T208xRDB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T4240RDB.h +0 -2
index 878f120c45..63fed3c3cc 100644
@@ -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 */
include/configs/TQM834x.h +0 -1
index 8c12eb1704..e2667f9632 100644
@@ -273,7 +273,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/UCP1020.h +0 -0
index ccaa89d7cf..8f3f5f910e 100644

include/configs/UCP1020.h line 420

Quoted 3 lines
include/configs/UCP1020.h +0 -0
@@ -418,7 +418,6 @@
 /*
  * Command line configuration.
  */

ditto.

Quoted 35 lines
include/configs/UCP1020.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/astro_mcf5373l.h +0 -1
index 61989d6bab..61f0d7a938 100644
@@ -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
include/configs/controlcenterd.h +0 -3
index 0fa1b76b7e..e35ded6977 100644
@@ -338,9 +338,6 @@
 #define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
 
 #ifndef CONFIG_TRAILBLAZER
-
-#define CONFIG_CMD_REGINFO
-
 /*
  * Board initialisation callbacks
  */
include/configs/corenet_ds.h +0 -0
index 4a62662e42..e6648bda46 100644

include/configs/corenet_ds.h line 594

Quoted 3 lines
include/configs/corenet_ds.h +0 -0
@@ -592,7 +592,6 @@
 /*
  * Command line configuration.
  */

ditto.

include/configs/cyrus.h line 412

Quoted 12 lines
include/configs/corenet_ds.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
 * USB
include/configs/cyrus.h +0 -0
index 6f877a8ac8..4b75bce969 100644
@@ -410,7 +410,6 @@
 /*
  * Command line configuration.
  */

ditto.

Quoted 21 lines
include/configs/cyrus.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/dragonboard410c.h +0 -1
index 11c842d952..712e11725b 100644
@@ -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 */
include/configs/p1_p2_rdb_pc.h +0 -0
index e7cbfd5192..6b89bab058 100644

include/configs/p1_p2_rdb_pc.h line 809

Quoted 3 lines
include/configs/p1_p2_rdb_pc.h +0 -0
@@ -807,7 +807,6 @@
 /*
  * Command line configuration.
  */

ditto.

include/configs/p1_twr.h extern unsigned long get_board_sys_clk(unsigned long dummy); · line 382

Quoted 12 lines
include/configs/p1_p2_rdb_pc.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/p1_twr.h +0 -0
index a4a6cf2b6f..560b4380d3 100644
@@ -380,7 +380,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */

ditto.

Quoted 60 lines
include/configs/p1_twr.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/qemu-ppce500.h +0 -2
index 9782813cdf..cdca1a27ef 100644
@@ -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 */
 
include/configs/s5p_goni.h +0 -2
index dcfd483f3d..108b573a11 100644
@@ -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
include/configs/sbc8548.h +0 -1
index 16c10da122..b3de6545b2 100644
@@ -511,7 +511,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled */
 
include/configs/sbc8641d.h +0 -2
index 0e8e703691..175a6407f9 100644
@@ -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 */
 
 /*
include/configs/smdkc100.h +0 -0
index 0580c8ceda..e24721bb32 100644

include/configs/smdkc100.h line 62

Quoted 2 lines
include/configs/smdkc100.h +0 -0
@@ -61,8 +61,6 @@
  ***********************************************************/
 #undef CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig option. We may need another patch to clean this up.

Quoted 60 lines
include/configs/smdkc100.h +0 -2
-#define CONFIG_CMD_REGINFO
-
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
include/configs/socrates.h +0 -1
index ef2cd7540a..89119dd14a 100644
@@ -280,7 +280,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled            */
 
include/configs/t4qds.h +0 -2
index 23b6bf0361..ce138f843f 100644
@@ -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 */
include/configs/vct.h +0 -1
index 08ac7e0c2a..07e2d9e898 100644
@@ -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
 
include/configs/xilinx-ppc.h +0 -1
index 924e0d11e7..e24b2f2e42 100644
@@ -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         */
include/configs/xpedite517x.h +0 -0
index 1848d9f444..87cdd2a3fd 100644

include/configs/xpedite517x.h extern unsigned long get_board_sys_clk(unsigned long dummy); · line 487

Quoted 3 lines
include/configs/xpedite517x.h +0 -0
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig option. We may need another patch to clean this up.

include/configs/xpedite520x.h line 290

Quoted 12 lines
include/configs/xpedite517x.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/xpedite520x.h +0 -0
index 881ef3188d..afa03157ab 100644
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig option. We may need another patch to clean this up.

include/configs/xpedite537x.h extern unsigned long get_board_ddr_clk(unsigned long dummy); · line 340

Quoted 12 lines
include/configs/xpedite520x.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/xpedite537x.h +0 -0
index ad2490f456..73ae952c29 100644
@@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig option. We may need another patch to clean this up.

include/configs/xpedite550x.h extern unsigned long get_board_ddr_clk(unsigned long dummy); · line 339

Quoted 12 lines
include/configs/xpedite537x.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/xpedite550x.h +0 -0
index 9fccd563fa..9f9e4bc5bd 100644
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig option. We may need another patch to clean this up.

Quoted 9 lines
include/configs/xpedite550x.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
scripts/config_whitelist.txt +0 -0
index d3344bfebf..54a018144f 100644

scripts/config_whitelist.txt CONFIG_CM922T_XA10

Quoted 8 lines
scripts/config_whitelist.txt +0 -2
@@ -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
--

Regards,
Bin

#35 lore raw

PATCH 16/41 Convert CONFIG_CMD_REGINFO to Kconfig

Quoted 7 lines · Bin Meng

Hi Simon,

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_REGINFO

[snip]

Quoted 9 lines

arch/powerpc/cpu/mpc85xx/Kconfig config SYS_PPC_E500_USE_DEBUG_TLB · line 1393

Quoted 5 lines
arch/powerpc/cpu/mpc85xx/Kconfig +1 -0
@@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB
 
 config FSL_IFC
        bool
+       imply CMD_REGINFO

This change is wrong. FSL_IFC is not the right place to "imply CMD_REGINFO". I suspect this is a corner case that moveconfig cannot handle?

[snip]

Quoted 8 lines
Quoted 8 lines
cmd/Kconfig +0 -0
index 2546ef61f6..354949f132 100644
@@ -792,6 +792,12 @@ config CMD_READ
        help
          Provides low-level access to the data in a partition.
 
Quoted 5 lines

cmd/Kconfig config CMD_READ · line 799

Quoted 5 lines
cmd/Kconfig +5 -0
+config CMD_REGINFO
+       bool "reginfo - Print register information"
+       depends on PPC
+       help
+         Provides access to low-level register information.

Indeed. I think we need to move this to default y instead.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170722/e16628ac/attachment.sig>
#36 lore raw

PATCH 16/41 Convert CONFIG_CMD_REGINFO to Kconfig

In reply to Simon Glass

Simon Glass <[email protected]> a écrit :

Quoted 132 lines

This converts the following to Kconfig:
CONFIG_CMD_REGINFO

---

 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(-)
README +0 -1
index 8dc75009d1..f5558eb9f1 100644
@@ -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
arch/powerpc/cpu/mpc85xx/Kconfig +0 -0
index 11030d6180..450456d622 100644

arch/powerpc/cpu/mpc85xx/Kconfig config ARCH_MPC8548 · line 557

Quoted 5 lines
arch/powerpc/cpu/mpc85xx/Kconfig +1 -0
@@ -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 ?

Quoted 87 lines
arch/powerpc/cpu/mpc85xx/Kconfig +10 -0
 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
cmd/Kconfig +0 -0
index 2546ef61f6..354949f132 100644

cmd/Kconfig config CMD_READ · line 801

Quoted 10 lines
cmd/Kconfig +6 -0
@@ -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

configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig CONFIG_CMD_MMC=y · line 18

Quoted 12 lines
configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig +0 -1
index 87ea4b0064..e8c548286b 100644
@@ -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 ?

Quoted 632 lines
configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig +0 -0
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig +0 -1
index a59ffc652c..3afb011012 100644
@@ -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
configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig +0 -1
index 2292dc16c7..c5d17bc516 100644
@@ -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
configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig +0 -1
index 5450a0f398..ba0772c07d 100644
@@ -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
configs/MCR3000_defconfig +42 -58
index 562face283..c8f45d6747 100644
@@ -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
configs/MPC8536DS_36BIT_defconfig +1 -0
index 9a299245ad..f588004c66 100644
@@ -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
configs/MPC8536DS_SDCARD_defconfig +1 -0
index bb1ad0a014..7d03f51b43 100644
@@ -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
configs/MPC8536DS_SPIFLASH_defconfig +1 -0
index 09a0689a44..cc4be93b4d 100644
@@ -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
configs/MPC8536DS_defconfig +1 -0
index 06a2bb6141..47e12ef95d 100644
@@ -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
configs/MPC8541CDS_defconfig +1 -0
index 65b7aab840..6c76cbf84b 100644
@@ -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
configs/MPC8541CDS_legacy_defconfig +1 -0
index 2bf0a0a995..3c4a58126e 100644
@@ -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
configs/MPC8544DS_defconfig +1 -0
index 884f47ae75..62469816e0 100644
@@ -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
configs/MPC8555CDS_defconfig +1 -0
index 6681ca6e5f..9aba0da1fa 100644
@@ -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
configs/MPC8555CDS_legacy_defconfig +1 -0
index 7b7b55c0ed..4e3ad8c8ba 100644
@@ -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
configs/MPC8568MDS_defconfig +1 -0
index 9d5e8bcec2..d84168aa86 100644
@@ -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
configs/MPC8569MDS_ATM_defconfig +1 -0
index 77851961aa..62576c15cf 100644
@@ -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
configs/MPC8569MDS_defconfig +1 -0
index ec7bb61357..af2a5aa1e6 100644
@@ -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
configs/MPC8572DS_36BIT_defconfig +1 -0
index e705535ae3..7f8dec1005 100644
@@ -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
configs/MPC8572DS_defconfig +1 -0
index 8d362fc227..3bf174189d 100644
@@ -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
configs/MPC8610HPCD_defconfig +1 -0
index b95d3cbc17..3368e85b84 100644
@@ -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
configs/MPC8641HPCN_36BIT_defconfig +1 -0
index c3345aede8..e56b748b31 100644
@@ -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
configs/MPC8641HPCN_defconfig +1 -0
index 8bc4ecc2b9..a99c63c592 100644
@@ -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
configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig +1 -1
index 739a1120f3..382f3c6f91 100644
@@ -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
configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig +1 -1
index cfa9455ec1..2936d20eb4 100644
@@ -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
configs/P1022DS_36BIT_NAND_defconfig +1 -0
index f2344702d6..43a8a8a933 100644
@@ -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
configs/P1022DS_36BIT_SDCARD_defconfig +1 -0
index 8993dda8da..225fa23b89 100644
@@ -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
configs/P1022DS_36BIT_SPIFLASH_defconfig +1 -0
index 6170f41648..ec5d89626f 100644
@@ -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
configs/P1022DS_36BIT_defconfig +1 -0
index 0102a62b53..c747eb6b08 100644
@@ -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
configs/P1022DS_NAND_defconfig +1 -0
index 7069267cd7..c3274555ba 100644
@@ -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
configs/P1022DS_SDCARD_defconfig +1 -0
index 2589a7137e..5024e37b6b 100644
@@ -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
configs/P1022DS_SPIFLASH_defconfig +1 -0
index b664bac9b5..9b683ac0d0 100644
@@ -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
configs/P1022DS_defconfig +1 -0
index ecca46d416..2364250538 100644
@@ -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
configs/P1023RDB_defconfig +1 -0
index 55481b86e1..8cad90f2df 100644
@@ -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
configs/TQM834x_defconfig +1 -0
index 2ee7fcd902..21c002ba63 100644
@@ -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
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig +1 -0
index 99200da9bb..a12ffc57b3 100644
@@ -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
configs/controlcenterd_36BIT_SDCARD_defconfig +1 -0
index f409d95d8a..93b92c1d98 100644
@@ -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
configs/qemu-ppce500_defconfig +1 -0
index 777ba9c4c4..c94e76186f 100644
@@ -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
configs/sbc8641d_defconfig +1 -0
index ee4ec6fa1f..30754dd5ef 100644
@@ -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
configs/socrates_defconfig +1 -0
index 1fc772260f..76943a633a 100644
@@ -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
configs/xpedite517x_defconfig +1 -0
index 9afc57c11e..a2eb6f154d 100644
@@ -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
configs/xpedite537x_defconfig +1 -0
index 63b0e40fc5..a848fac769 100644
@@ -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
include/config_cmd_all.h +0 -1
index 2a59976550..aa570a1b56 100644
@@ -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		*/
include/configs/B4860QDS.h +0 -0
index bcd5827e69..a95193fb88 100644

include/configs/B4860QDS.h unsigned long get_board_ddr_clk(void); · line 705

Quoted 4 lines
include/configs/B4860QDS.h +0 -1
@@ -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 ?

Quoted 738 lines
include/configs/B4860QDS.h +0 -0
 /*
 * USB
include/configs/BSC9131RDB.h +0 -1
index 9c0e4659f9..2c9c456f36 100644
@@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/BSC9132QDS.h +0 -1
index ea1547f873..9281df3886 100644
@@ -518,7 +518,6 @@ combinations. this should be removed later
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/C29XPCIE.h +0 -1
index 9820dca3bf..784e65ecf3 100644
@@ -434,7 +434,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/M5208EVBE.h +0 -1
index f8b1d4af38..fe4a230b46 100644
@@ -21,7 +21,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT		5000
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
include/configs/M52277EVB.h +0 -1
index fc9b26ff46..15bbbd6b57 100644
@@ -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
include/configs/M5235EVB.h +0 -1
index e2c3e1ae2d..83a01fe801 100644
@@ -34,7 +34,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
include/configs/M53017EVB.h +0 -1
index b88c3709c6..55e1163a83 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT		5000
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SYS_UNIFY_CACHE
 
include/configs/M5329EVB.h +0 -0
index 999bcd9495..0f6cf6f898 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds,  

max timeout is 6.71sec */

/* Command line configuration */

include/configs/M5329EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_NANDFLASH_SIZE
 #      define CONFIG_CMD_NAND
include/configs/M5373EVB.h +0 -1
index 3a39e5031d..99868a35e3 100644
@@ -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
include/configs/M54418TWR.h +0 -1
index 09e21a8359..7201f9026e 100644
@@ -38,7 +38,6 @@
 
 /* Command line configuration */
 #undef CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * NAND FLASH
include/configs/M54451EVB.h +0 -1
index 7d6edda361..3c1cd9c837 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 /* Network configuration */
 #define CONFIG_MCFFEC
include/configs/M54455EVB.h +0 -1
index ab7e7aef94..2376a19a47 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 /* Network configuration */
 #define CONFIG_MCFFEC
include/configs/M5475EVB.h +0 -0
index 5d87d0d95b..15e648f294 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds,  

max timeout is 6.71sec */

/* Command line configuration */

include/configs/M5475EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
include/configs/M5485EVB.h +0 -0
index 6226fd67b6..8f0f92218b 100644
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds,  

max timeout is 6.71sec */

/* Command line configuration */

include/configs/M5485EVB.h +0 -1
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
include/configs/MCR3000.h +0 -1
index 15bb0e9d6a..7b36e51081 100644
@@ -153,6 +153,5 @@
 #define BOOTFLAG_WARM			0x02
 
 /* Misc Settings */
-#define CONFIG_CMD_REGINFO
 
 #endif /* __CONFIG_H */
include/configs/MPC8536DS.h +0 -1
index 10bf1b000b..a5ba3bbf37 100644
@@ -588,7 +588,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/MPC8541CDS.h +0 -1
index 816ff4b9a9..d912c6bd8b 100644
@@ -342,7 +342,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/MPC8544DS.h +0 -1
index 3dff6376a3..0ab81dce4e 100644
@@ -348,7 +348,6 @@ extern unsigned long get_board_sys_clk(unsigned  
 long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*

* USB

include/configs/MPC8548CDS.h +0 -1
index c0fde19bad..be28500d78 100644
@@ -461,7 +461,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/MPC8555CDS.h +0 -1
index 9c8e3811f1..0c756129a7 100644
@@ -340,7 +340,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/MPC8560ADS.h +0 -1
index 23ba5f5e3a..b4ee029bfe 100644
@@ -354,7 +354,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_ETHER_ON_FCC)
 #endif
include/configs/MPC8568MDS.h +0 -1
index 0bdcfb1b0d..3c335fe712 100644
@@ -355,7 +355,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/MPC8569MDS.h +0 -1
index 2156460ff9..e16a6df1ba 100644
@@ -448,7 +448,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/MPC8572DS.h +0 -1
index 0917f542f9..1c846f57d5 100644
@@ -547,7 +547,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/MPC8610HPCD.h +0 -2
index 8eae3072e6..3e00d646bf 100644
@@ -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
include/configs/MPC8641HPCN.h +0 -1
index a1e6303de7..e02c4f40b5 100644
@@ -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 */
include/configs/P1010RDB.h +0 -1
index c823958e5a..6c165a0b2c 100644
@@ -720,7 +720,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/P1022DS.h +0 -1
index 9ead71f245..896f74d5a3 100644
@@ -591,7 +591,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/P1023RDB.h +0 -1
index d676c1c819..4aa5e57518 100644
@@ -241,7 +241,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/T102xQDS.h +0 -1
index 514303486e..173588810d 100644
@@ -777,7 +777,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T102xRDB.h +0 -1
index c4e79664d9..f87af6ba44 100644
@@ -788,7 +788,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T1040QDS.h +0 -1
index 417e2419bf..b8bda52f43 100644
@@ -656,7 +656,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T104xRDB.h +0 -1
index da44aa05f1..6182c8d73c 100644
@@ -770,7 +770,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T208xQDS.h +0 -1
index 618ab1ec57..8558ba8ba0 100644
@@ -742,7 +742,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T208xRDB.h +0 -1
index 3a43325523..682a87e732 100644
@@ -688,7 +688,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/T4240RDB.h +0 -2
index 878f120c45..63fed3c3cc 100644
@@ -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 */
include/configs/TQM834x.h +0 -1
index 8c12eb1704..e2667f9632 100644
@@ -273,7 +273,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/UCP1020.h +0 -1
index ccaa89d7cf..8f3f5f910e 100644
@@ -418,7 +418,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/astro_mcf5373l.h +0 -1
index 61989d6bab..61f0d7a938 100644
@@ -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
include/configs/controlcenterd.h +0 -3
index 0fa1b76b7e..e35ded6977 100644
@@ -338,9 +338,6 @@
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
 
 #ifndef CONFIG_TRAILBLAZER
-
-#define CONFIG_CMD_REGINFO
-
 /*
  * Board initialisation callbacks
  */
include/configs/corenet_ds.h +0 -1
index 4a62662e42..e6648bda46 100644
@@ -592,7 +592,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
 * USB
include/configs/cyrus.h +0 -1
index 6f877a8ac8..4b75bce969 100644
@@ -410,7 +410,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/dragonboard410c.h +0 -1
index 11c842d952..712e11725b 100644
@@ -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 */
include/configs/p1_p2_rdb_pc.h +0 -1
index e7cbfd5192..6b89bab058 100644
@@ -807,7 +807,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
include/configs/p1_twr.h +0 -1
index a4a6cf2b6f..560b4380d3 100644
@@ -380,7 +380,6 @@ extern unsigned long get_board_sys_clk(unsigned  
 long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*

* USB

include/configs/qemu-ppce500.h +0 -2
index 9782813cdf..cdca1a27ef 100644
@@ -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 */
 
include/configs/s5p_goni.h +0 -2
index dcfd483f3d..108b573a11 100644
@@ -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
include/configs/sbc8548.h +0 -1
index 16c10da122..b3de6545b2 100644
@@ -511,7 +511,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
include/configs/sbc8641d.h +0 -2
index 0e8e703691..175a6407f9 100644
@@ -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 */
 
 /*
include/configs/smdkc100.h +0 -2
index 0580c8ceda..e24721bb32 100644
@@ -61,8 +61,6 @@
  ***********************************************************/
 #undef CONFIG_CMD_NAND
 
-#define CONFIG_CMD_REGINFO
-
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
include/configs/socrates.h +0 -1
index ef2cd7540a..89119dd14a 100644
@@ -280,7 +280,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled		*/
 
include/configs/t4qds.h +0 -2
index 23b6bf0361..ce138f843f 100644
@@ -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 */
include/configs/vct.h +0 -1
index 08ac7e0c2a..07e2d9e898 100644
@@ -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
 
include/configs/xilinx-ppc.h +0 -1
index 924e0d11e7..e24b2f2e42 100644
@@ -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         */
include/configs/xpedite517x.h +0 -1
index 1848d9f444..87cdd2a3fd 100644
@@ -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

include/configs/xpedite520x.h +0 -1
index 881ef3188d..afa03157ab 100644
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
include/configs/xpedite537x.h +0 -1
index ad2490f456..73ae952c29 100644
@@ -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

include/configs/xpedite550x.h +0 -1
index 9fccd563fa..9f9e4bc5bd 100644
@@ -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

scripts/config_whitelist.txt +0 -2
index d3344bfebf..54a018144f 100644
@@ -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 at lists.denx.de
https://lists.denx.de/listinfo/u-boot

#37 lore raw

PATCH 16/41 Convert CONFIG_CMD_REGINFO to Kconfig

Hi Bin,

Quoted 9 lines · LEROY Christophe

Simon Glass <[email protected]> a écrit :

Quoted 6 lines

This converts the following to Kconfig:
CONFIG_CMD_REGINFO

---

I found another patch that was apparently applied by Tom, or not quite, so I've patched that into the v2 series.

I fixed the CMD_PCI problem though.

Regards,
Simon

#38 lore raw

PATCH 17/41 Convert CONFIG_CMD_REISER to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_REISER

---

 cmd/Kconfig                  | 9 +++++++++
 include/config_cmd_all.h     | 1 -
 include/configs/ethernut5.h  | 1 -
 scripts/config_whitelist.txt | 1 -
 4 files changed, 9 insertions(+), 3 deletions(-)
cmd/Kconfig +9 -0
index 354949f132..aac79f4bcf 100644
@@ -1274,6 +1274,15 @@ config CMD_MTDPARTS_SPREAD
 	  at least as large as the size specified in the mtdparts variable and
 	  2) each partition starts on a good block.
 
+config CMD_REISER
+	bool "reiser - Access to reiserfs filesystems"
+	help
+	  This provides two commands which operate on a resierfs filesystem,
+	  commonly used some years ago:
+
+	    reiserls - list files
+	    reiserload - load a file
+
 endmenu
 
 menu "Debug commands"
include/config_cmd_all.h +0 -1
index aa570a1b56..226e3ce4b5 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_REISER	/* Reiserfs support		*/
 #define CONFIG_CMD_SANDBOX	/* sb command to access sandbox features */
 #define CONFIG_CMD_SAVES	/* save S record dump		*/
 #define CONFIG_CMD_SDRAM	/* SDRAM DIMM SPD info printout */
include/configs/ethernut5.h +0 -1
index 9da3432284..8b9aaaa2c4 100644
@@ -87,7 +87,6 @@
 #define CONFIG_CMD_NAND
 
 #ifndef MINIMAL_LOADER
-#define CONFIG_CMD_REISER
 #define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #endif
scripts/config_whitelist.txt +0 -1
index 54a018144f..489af2bee6 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_REISER
 CONFIG_CMD_SANDBOX
 CONFIG_CMD_SAVES
 CONFIG_CMD_SCSI
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#39 lore raw

PATCH 17/41 Convert CONFIG_CMD_REISER to Kconfig

Quoted 12 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_REISER

---

 cmd/Kconfig                  | 9 +++++++++
 include/config_cmd_all.h     | 1 -
 include/configs/ethernut5.h  | 1 -
 scripts/config_whitelist.txt | 1 -
 4 files changed, 9 insertions(+), 3 deletions(-)
#40 lore raw

PATCH 18/41 Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option

In reply to Simon Glass

This is no-longer used. Drop it.

---

 README                       | 1 -
 include/config_cmd_all.h     | 1 -
 include/configs/sandbox.h    | 2 --
 scripts/config_whitelist.txt | 1 -
 4 files changed, 5 deletions(-)
README +0 -1
index f5558eb9f1..cb954098e4 100644
@@ -816,7 +816,6 @@ The following options need to be configured:
 		CONFIG_CMD_PING		* send ICMP ECHO_REQUEST to network
 					  host
 		CONFIG_CMD_RUN		  run command in env variable
-		CONFIG_CMD_SANDBOX	* sb command to access sandbox features
 		CONFIG_CMD_SAVES	* save S record dump
 		CONFIG_CMD_SDRAM	* print SDRAM configuration information
 					  (requires CONFIG_CMD_I2C)
include/config_cmd_all.h +0 -1
index 226e3ce4b5..26c08eeef6 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_SANDBOX	/* sb command to access sandbox features */
 #define CONFIG_CMD_SAVES	/* save S record dump		*/
 #define CONFIG_CMD_SDRAM	/* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
include/configs/sandbox.h +0 -2
index 3f671da18e..5af382969b 100644
@@ -95,8 +95,6 @@
 #define CONFIG_BOOTP_SERVERIP
 #define CONFIG_IP_DEFRAG
 
-#define CONFIG_CMD_SANDBOX
-
 #define CONFIG_BOOTARGS ""
 
 #ifndef SANDBOX_NO_SDL
scripts/config_whitelist.txt +0 -1
index 489af2bee6..221525b78a 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SANDBOX
 CONFIG_CMD_SAVES
 CONFIG_CMD_SCSI
 CONFIG_CMD_SDRAM
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#41 lore raw

PATCH 18/41 Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option

Quoted 11 lines · Simon Glass

This is no-longer used. Drop it.

---

 README                       | 1 -
 include/config_cmd_all.h     | 1 -
 include/configs/sandbox.h    | 2 --
 scripts/config_whitelist.txt | 1 -
 4 files changed, 5 deletions(-)
#42 lore raw

PATCH 19/41 Convert CONFIG_CMD_SAVES to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SAVES

---

 README                               | 1 -
 arch/arm/Kconfig                     | 6 ++++++
 cmd/Kconfig                          | 6 ++++++
 configs/ethernut5_defconfig          | 1 +
 configs/microblaze-generic_defconfig | 1 +
 configs/x600_defconfig               | 1 +
 configs/xtfpga_defconfig             | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/calimain.h           | 1 -
 include/configs/da850evm.h           | 1 -
 include/configs/ea20.h               | 1 -
 include/configs/ethernut5.h          | 1 -
 include/configs/ipam390.h            | 1 -
 include/configs/legoev3.h            | 1 -
 include/configs/microblaze-generic.h | 8 --------
 include/configs/omapl138_lcdk.h      | 1 -
 include/configs/spear-common.h       | 1 -
 include/configs/ti_armv7_keystone2.h | 1 -
 include/configs/x600.h               | 1 -
 include/configs/xtfpga.h             | 2 --
 scripts/config_whitelist.txt         | 1 -
 21 files changed, 16 insertions(+), 23 deletions(-)
README +0 -1
index cb954098e4..ce179b828e 100644
@@ -816,7 +816,6 @@ The following options need to be configured:
 		CONFIG_CMD_PING		* send ICMP ECHO_REQUEST to network
 					  host
 		CONFIG_CMD_RUN		  run command in env variable
-		CONFIG_CMD_SAVES	* save S record dump
 		CONFIG_CMD_SDRAM	* print SDRAM configuration information
 					  (requires CONFIG_CMD_I2C)
 		CONFIG_CMD_SF		* Read/write/erase SPI NOR flash
arch/arm/Kconfig +6 -0
index 6ab79a7a7a..c3c389298d 100644
@@ -308,6 +308,7 @@ config TARGET_GPLUGD
 config ARCH_DAVINCI
 	bool "TI DaVinci"
 	select CPU_ARM926EJS
+	imply CMD_SAVES
 	help
 	  Support for TI's DaVinci platform.
 
@@ -409,21 +410,25 @@ config TARGET_SPEAR300
 	bool "Support spear300"
 	select CPU_ARM926EJS
 	select BOARD_EARLY_INIT_F
+	imply CMD_SAVES
 
 config TARGET_SPEAR310
 	bool "Support spear310"
 	select CPU_ARM926EJS
 	select BOARD_EARLY_INIT_F
+	imply CMD_SAVES
 
 config TARGET_SPEAR320
 	bool "Support spear320"
 	select CPU_ARM926EJS
 	select BOARD_EARLY_INIT_F
+	imply CMD_SAVES
 
 config TARGET_SPEAR600
 	bool "Support spear600"
 	select CPU_ARM926EJS
 	select BOARD_EARLY_INIT_F
+	imply CMD_SAVES
 
 config TARGET_STV0991
 	bool "Support stv0991"
@@ -571,6 +576,7 @@ config ARCH_KEYSTONE
 	select CMD_POWEROFF
 	imply FIT
 	imply CMD_MTDPARTS
+	imply CMD_SAVES
 
 config ARCH_OMAP2PLUS
 	bool "TI OMAP2+"
cmd/Kconfig +6 -0
index aac79f4bcf..4be801cdfe 100644
@@ -798,6 +798,12 @@ config CMD_REGINFO
 	help
 	  Provides access to low-level register information.
 
+config CMD_SAVES
+	bool "saves - Save a file over serial in S-Record format"
+	help
+	  Provides a way to save a binary file using the Motorola S-Record
+	  format over the serial line.
+
 endmenu
 
 
configs/ethernut5_defconfig +1 -0
index 197052dba6..20bff59cac 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SAVES=y
 CONFIG_CMD_RARP=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/microblaze-generic_defconfig +1 -0
index f79907ba14..471be29ee5 100644
@@ -24,6 +24,7 @@ CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
+CONFIG_CMD_SAVES=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
configs/x600_defconfig +1 -0
index 2e5d5f1ae8..f10d81116a 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SAVES=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/xtfpga_defconfig +1 -0
index 9f85d63965..0fc7141257 100644
@@ -9,6 +9,7 @@ CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press <SPACE> to stop\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
+CONFIG_CMD_SAVES=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DIAG=y
include/config_cmd_all.h +0 -1
index 26c08eeef6..6ad3f17169 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_SAVES	/* save S record dump		*/
 #define CONFIG_CMD_SDRAM	/* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
include/configs/calimain.h +0 -1
index d43e3314a7..e0fe981b43 100644
@@ -298,7 +298,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifndef CONFIG_DRIVER_TI_EMAC
 #endif
include/configs/da850evm.h +0 -1
index 1bb38651d2..689f68c869 100644
@@ -272,7 +272,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/ea20.h +0 -1
index 0b8464c044..38cf11076d 100644
@@ -127,7 +127,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/ethernut5.h +0 -1
index 8b9aaaa2c4..4ad114e8ba 100644
@@ -87,7 +87,6 @@
 #define CONFIG_CMD_NAND
 
 #ifndef MINIMAL_LOADER
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #endif
 
include/configs/ipam390.h +0 -1
index b2b969ade2..95cd769843 100644
@@ -240,7 +240,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/legoev3.h +0 -1
index 15da4074f2..34c65f3920 100644
@@ -200,7 +200,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/microblaze-generic.h +0 -8
index 84b4154ec5..5a1875ad15 100644
@@ -172,16 +172,8 @@
 #if defined(FLASH)
 # undef CONFIG_CMD_UBIFS
 
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
-
 #else
 #if defined(SPIFLASH)
-
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
 #else
 # undef CONFIG_CMD_UBIFS
 #endif
include/configs/omapl138_lcdk.h +0 -1
index dee0ae0d9a..168da4ab95 100644
@@ -283,7 +283,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
 #endif
include/configs/spear-common.h +0 -1
index 86e14ffac8..d69e116085 100644
@@ -97,7 +97,6 @@
  * Command support defines
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_SAVES
 
 /*
  * Default Environment Varible definitions
include/configs/ti_armv7_keystone2.h +0 -1
index ac8dabd9ca..b76d20c969 100644
@@ -202,7 +202,6 @@
 #define CONFIG_USB_PHY_CFG_BASE			KS2_USB_PHY_CFG_BASE
 
 /* U-Boot command configuration */
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 
 /* U-Boot general configuration */
include/configs/x600.h +0 -1
index 3ff6b70bde..c5fd973147 100644
@@ -107,7 +107,6 @@
  * Command support defines
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #define CONFIG_LZO
 
include/configs/xtfpga.h +0 -2
index 7d7d9bb983..44120db963 100644
@@ -127,8 +127,6 @@
 /* U-Boot commands */
 /*=================*/
 
-#define CONFIG_CMD_SAVES
-
 /*==============================*/
 /* U-Boot autoboot configuration */
 /*==============================*/
scripts/config_whitelist.txt +0 -1
index 221525b78a..a0b39a355f 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SAVES
 CONFIG_CMD_SCSI
 CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#43 lore raw

PATCH 19/41 Convert CONFIG_CMD_SAVES to Kconfig

Hi Simon,

Quoted 169 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SAVES

---

 README                               | 1 -
 arch/arm/Kconfig                     | 6 ++++++
 cmd/Kconfig                          | 6 ++++++
 configs/ethernut5_defconfig          | 1 +
 configs/microblaze-generic_defconfig | 1 +
 configs/x600_defconfig               | 1 +
 configs/xtfpga_defconfig             | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/calimain.h           | 1 -
 include/configs/da850evm.h           | 1 -
 include/configs/ea20.h               | 1 -
 include/configs/ethernut5.h          | 1 -
 include/configs/ipam390.h            | 1 -
 include/configs/legoev3.h            | 1 -
 include/configs/microblaze-generic.h | 8 --------
 include/configs/omapl138_lcdk.h      | 1 -
 include/configs/spear-common.h       | 1 -
 include/configs/ti_armv7_keystone2.h | 1 -
 include/configs/x600.h               | 1 -
 include/configs/xtfpga.h             | 2 --
 scripts/config_whitelist.txt         | 1 -
 21 files changed, 16 insertions(+), 23 deletions(-)
README +0 -1
index cb954098e4..ce179b828e 100644
@@ -816,7 +816,6 @@ The following options need to be configured:
                CONFIG_CMD_PING         * send ICMP ECHO_REQUEST to network
                                          host
                CONFIG_CMD_RUN            run command in env variable
-               CONFIG_CMD_SAVES        * save S record dump
                CONFIG_CMD_SDRAM        * print SDRAM configuration information
                                          (requires CONFIG_CMD_I2C)
                CONFIG_CMD_SF           * Read/write/erase SPI NOR flash
arch/arm/Kconfig +6 -0
index 6ab79a7a7a..c3c389298d 100644
@@ -308,6 +308,7 @@ config TARGET_GPLUGD
 config ARCH_DAVINCI
        bool "TI DaVinci"
        select CPU_ARM926EJS
+       imply CMD_SAVES
        help
          Support for TI's DaVinci platform.
 
@@ -409,21 +410,25 @@ config TARGET_SPEAR300
        bool "Support spear300"
        select CPU_ARM926EJS
        select BOARD_EARLY_INIT_F
+       imply CMD_SAVES
 
 config TARGET_SPEAR310
        bool "Support spear310"
        select CPU_ARM926EJS
        select BOARD_EARLY_INIT_F
+       imply CMD_SAVES
 
 config TARGET_SPEAR320
        bool "Support spear320"
        select CPU_ARM926EJS
        select BOARD_EARLY_INIT_F
+       imply CMD_SAVES
 
 config TARGET_SPEAR600
        bool "Support spear600"
        select CPU_ARM926EJS
        select BOARD_EARLY_INIT_F
+       imply CMD_SAVES
 
 config TARGET_STV0991
        bool "Support stv0991"
@@ -571,6 +576,7 @@ config ARCH_KEYSTONE
        select CMD_POWEROFF
        imply FIT
        imply CMD_MTDPARTS
+       imply CMD_SAVES
 
 config ARCH_OMAP2PLUS
        bool "TI OMAP2+"
cmd/Kconfig +6 -0
index aac79f4bcf..4be801cdfe 100644
@@ -798,6 +798,12 @@ config CMD_REGINFO
        help
          Provides access to low-level register information.
 
+config CMD_SAVES
+       bool "saves - Save a file over serial in S-Record format"
+       help
+         Provides a way to save a binary file using the Motorola S-Record
+         format over the serial line.
+
 endmenu
 
 
configs/ethernut5_defconfig +1 -0
index 197052dba6..20bff59cac 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SAVES=y
 CONFIG_CMD_RARP=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/microblaze-generic_defconfig +1 -0
index f79907ba14..471be29ee5 100644
@@ -24,6 +24,7 @@ CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
+CONFIG_CMD_SAVES=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
configs/x600_defconfig +1 -0
index 2e5d5f1ae8..f10d81116a 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SAVES=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/xtfpga_defconfig +1 -0
index 9f85d63965..0fc7141257 100644
@@ -9,6 +9,7 @@ CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press <SPACE> to stop\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
+CONFIG_CMD_SAVES=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DIAG=y
include/config_cmd_all.h +0 -1
index 26c08eeef6..6ad3f17169 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND                /* NAND support                 */
-#define CONFIG_CMD_SAVES       /* save S record dump           */
 #define CONFIG_CMD_SDRAM       /* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL    /* built-in Serial Terminal     */
 #define CONFIG_CMD_UBIFS       /* UBIFS Support                */
include/configs/calimain.h +0 -0
index d43e3314a7..e0fe981b43 100644

include/configs/calimain.h line 300

Quoted 3 lines
include/configs/calimain.h +0 -0
@@ -298,7 +298,6 @@
 /*
  * U-Boot commands
  */

The above comments should be removed.

include/configs/da850evm.h line 274

Quoted 12 lines
include/configs/calimain.h +0 -1
-#define CONFIG_CMD_SAVES
 
 #ifndef CONFIG_DRIVER_TI_EMAC
 #endif
include/configs/da850evm.h +0 -0
index 1bb38651d2..689f68c869 100644
@@ -272,7 +272,6 @@
 /*
  * U-Boot commands
  */

ditto.

include/configs/ea20.h line 129

Quoted 12 lines
include/configs/da850evm.h +0 -1
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/ea20.h +0 -0
index 0b8464c044..38cf11076d 100644
@@ -127,7 +127,6 @@
 /*
  * U-Boot commands
  */

ditto.

Quoted 21 lines
include/configs/ea20.h +0 -1
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/ethernut5.h +0 -1
index 8b9aaaa2c4..4ad114e8ba 100644
@@ -87,7 +87,6 @@
 #define CONFIG_CMD_NAND
 
 #ifndef MINIMAL_LOADER
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #endif
 
include/configs/ipam390.h +0 -0
index b2b969ade2..95cd769843 100644

include/configs/ipam390.h line 242

Quoted 3 lines
include/configs/ipam390.h +0 -0
@@ -240,7 +240,6 @@
 /*
  * U-Boot commands
  */

ditto.

include/configs/legoev3.h line 202

Quoted 12 lines
include/configs/ipam390.h +0 -1
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/legoev3.h +0 -0
index 15da4074f2..34c65f3920 100644
@@ -200,7 +200,6 @@
 /*
  * U-Boot commands
  */

ditto.

Quoted 30 lines
include/configs/legoev3.h +0 -1
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
include/configs/microblaze-generic.h +0 -8
index 84b4154ec5..5a1875ad15 100644
@@ -172,16 +172,8 @@
 #if defined(FLASH)
 # undef CONFIG_CMD_UBIFS
 
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
-
 #else
 #if defined(SPIFLASH)
-
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
 #else
 # undef CONFIG_CMD_UBIFS
 #endif
include/configs/omapl138_lcdk.h +0 -0
index dee0ae0d9a..168da4ab95 100644

include/configs/omapl138_lcdk.h line 285

Quoted 3 lines
include/configs/omapl138_lcdk.h +0 -0
@@ -283,7 +283,6 @@
 /*
  * U-Boot commands
  */

ditto.

Quoted 45 lines
include/configs/omapl138_lcdk.h +0 -1
-#define CONFIG_CMD_SAVES
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
 #endif
include/configs/spear-common.h +0 -1
index 86e14ffac8..d69e116085 100644
@@ -97,7 +97,6 @@
  * Command support defines
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_SAVES
 
 /*
  * Default Environment Varible definitions
include/configs/ti_armv7_keystone2.h +0 -1
index ac8dabd9ca..b76d20c969 100644
@@ -202,7 +202,6 @@
 #define CONFIG_USB_PHY_CFG_BASE                        KS2_USB_PHY_CFG_BASE
 
 /* U-Boot command configuration */
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 
 /* U-Boot general configuration */
include/configs/x600.h +0 -1
index 3ff6b70bde..c5fd973147 100644
@@ -107,7 +107,6 @@
  * Command support defines
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #define CONFIG_LZO
 
include/configs/xtfpga.h +0 -0
index 7d7d9bb983..44120db963 100644

include/configs/xtfpga.h line 129

Quoted 3 lines
include/configs/xtfpga.h +0 -0
@@ -127,8 +127,6 @@
 /* U-Boot commands */
 /*=================*/
 

ditto.

Quoted 10 lines
include/configs/xtfpga.h +0 -2
-#define CONFIG_CMD_SAVES
-
 /*==============================*/
 /* U-Boot autoboot configuration */
 /*==============================*/
scripts/config_whitelist.txt +0 -0
index 221525b78a..a0b39a355f 100644

scripts/config_whitelist.txt CONFIG_CM922T_XA10

Quoted 8 lines
scripts/config_whitelist.txt +0 -2
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SAVES
 CONFIG_CMD_SCSI
 CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
--

Regards,
Bin

#44 lore raw

PATCH 20/41 Convert CONFIG_CMD_SCSI to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SCSI

---

 arch/arm/Kconfig                  | 3 +++
 cmd/Kconfig                       | 9 +++++++++
 cmd/Makefile                      | 2 +-
 configs/cl-som-am57x_defconfig    | 1 +
 configs/controlcenterdc_defconfig | 1 +
 configs/ls1012aqds_qspi_defconfig | 1 +
 include/configs/cl-som-am57x.h    | 1 -
 include/configs/controlcenterdc.h | 1 -
 include/configs/ls1012aqds.h      | 1 -
 include/configs/ls1012ardb.h      | 1 -
 include/configs/ls1021aiot.h      | 1 -
 include/configs/ls1043ardb.h      | 1 -
 scripts/config_whitelist.txt      | 1 -
 13 files changed, 16 insertions(+), 8 deletions(-)
arch/arm/Kconfig +3 -0
index c3c389298d..3cc252ac27 100644
@@ -878,6 +878,7 @@ config TARGET_LS1012ARDB
 	select ARM64
 	select BOARD_LATE_INIT
 	imply SCSI
+	imply CMD_SCSI
 	help
 	  Support for Freescale LS1012ARDB platform.
 	  The LS1012A Reference design board (RDB) is a high-performance
@@ -931,6 +932,7 @@ config TARGET_LS1021AIOT
 	select ARCH_LS1021A
 	select ARCH_SUPPORT_PSCI
 	imply SCSI
+	imply CMD_SCSI
 	help
 	  Support for Freescale LS1021AIOT platform.
 	  The LS1021A Freescale board (IOT) is a high-performance
@@ -958,6 +960,7 @@ config TARGET_LS1043ARDB
 	select SUPPORT_SPL
 	select BOARD_EARLY_INIT_F
 	imply SCSI
+	imply CMD_SCSI
 	help
 	  Support for Freescale LS1043ARDB platform.
 
cmd/Kconfig +9 -0
index 4be801cdfe..ce1a358e08 100644
@@ -1289,6 +1289,15 @@ config CMD_REISER
 	    reiserls - list files
 	    reiserload - load a file
 
+config CMD_SCSI
+	bool "scsi - Access to SCSI devices"
+	select SCSI
+	help
+	  This provides a 'scsi' command which provides access to SCSI (Small
+	  Computer System Interface) devices. The command provides a way to
+	  scan the bus, reset the bus, read and write data and get information
+	  about devices.
+
 endmenu
 
 menu "Debug commands"
cmd/Makefile +1 -1
index eff6bd678f..a85fe25dda 100644
@@ -106,7 +106,7 @@ obj-$(CONFIG_CMD_REMOTEPROC) += remoteproc.o
 obj-$(CONFIG_SANDBOX) += host.o
 obj-$(CONFIG_CMD_SATA) += sata.o
 obj-$(CONFIG_CMD_SF) += sf.o
-obj-$(CONFIG_SCSI) += scsi.o disk.o
+obj-$(CONFIG_CMD_SCSI) += scsi.o disk.o
 obj-$(CONFIG_CMD_SHA1SUM) += sha1sum.o
 obj-$(CONFIG_CMD_SETEXPR) += setexpr.o
 obj-$(CONFIG_CMD_SPI) += spi.o
configs/cl-som-am57x_defconfig +1 -0
index 2f1863f1ee..10c10f2387 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_SCSI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_CMD_PCA953X=y
 CONFIG_LED_STATUS=y
configs/controlcenterdc_defconfig +1 -0
index c7102810a3..01db848b4e 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_TIME=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
+CONFIG_CMD_SCSI=y
 CONFIG_EFI_PARTITION=y
 CONFIG_OF_BOARD_FIXUP=y
 CONFIG_SPL_OF_TRANSLATE=y
configs/ls1012aqds_qspi_defconfig +1 -0
index ea8e262317..c8864fa7b0 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_SCSI=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
include/configs/cl-som-am57x.h +0 -1
index ecc87fb6d2..d4a28a597c 100644
@@ -65,7 +65,6 @@
 
 #ifndef CONFIG_SPL_BUILD
 /* SATA */
-#define CONFIG_CMD_SCSI
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
include/configs/controlcenterdc.h +0 -1
index 09af7829ca..a9beb80c92 100644
@@ -33,7 +33,6 @@
  * Commands configuration
  */
 #define CONFIG_CMD_I2C
-#define CONFIG_CMD_SCSI
 #define CONFIG_CMD_SPI
 
 /* SPI NOR flash default params, used by sf commands */
include/configs/ls1012aqds.h +0 -1
index 162b866ad5..46cc33deac 100644
@@ -137,7 +137,6 @@
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_CMD_SCSI
 
 #define CONFIG_SYS_SATA				AHCI_BASE_ADDR
 
include/configs/ls1012ardb.h +0 -1
index 653837c689..8d7888aec8 100644
@@ -53,7 +53,6 @@
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_CMD_SCSI
 
 #define CONFIG_SYS_SATA				AHCI_BASE_ADDR
 
include/configs/ls1021aiot.h +0 -1
index 100b8511ac..9c3133caa8 100644
@@ -143,7 +143,6 @@
 #define CONFIG_FSL_ESDHC
 
 /* SATA */
-#define CONFIG_CMD_SCSI
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
include/configs/ls1043ardb.h +0 -1
index deae787358..79f2dc2987 100644
@@ -299,7 +299,6 @@
 #ifndef SPL_NO_SATA
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
-#define CONFIG_CMD_SCSI
 #ifndef CONFIG_CMD_EXT2
 #define CONFIG_CMD_EXT2
 #endif
scripts/config_whitelist.txt +0 -1
index a0b39a355f..4949e182c9 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SCSI
 CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#45 lore raw

PATCH 20/41 Convert CONFIG_CMD_SCSI to Kconfig

Hi Simon,

Quoted 74 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SCSI

---

 arch/arm/Kconfig                  | 3 +++
 cmd/Kconfig                       | 9 +++++++++
 cmd/Makefile                      | 2 +-
 configs/cl-som-am57x_defconfig    | 1 +
 configs/controlcenterdc_defconfig | 1 +
 configs/ls1012aqds_qspi_defconfig | 1 +
 include/configs/cl-som-am57x.h    | 1 -
 include/configs/controlcenterdc.h | 1 -
 include/configs/ls1012aqds.h      | 1 -
 include/configs/ls1012ardb.h      | 1 -
 include/configs/ls1021aiot.h      | 1 -
 include/configs/ls1043ardb.h      | 1 -
 scripts/config_whitelist.txt      | 1 -
 13 files changed, 16 insertions(+), 8 deletions(-)
arch/arm/Kconfig +3 -0
index c3c389298d..3cc252ac27 100644
@@ -878,6 +878,7 @@ config TARGET_LS1012ARDB
        select ARM64
        select BOARD_LATE_INIT
        imply SCSI
+       imply CMD_SCSI
        help
          Support for Freescale LS1012ARDB platform.
          The LS1012A Reference design board (RDB) is a high-performance
@@ -931,6 +932,7 @@ config TARGET_LS1021AIOT
        select ARCH_LS1021A
        select ARCH_SUPPORT_PSCI
        imply SCSI
+       imply CMD_SCSI
        help
          Support for Freescale LS1021AIOT platform.
          The LS1021A Freescale board (IOT) is a high-performance
@@ -958,6 +960,7 @@ config TARGET_LS1043ARDB
        select SUPPORT_SPL
        select BOARD_EARLY_INIT_F
        imply SCSI
+       imply CMD_SCSI
        help
          Support for Freescale LS1043ARDB platform.
 
cmd/Kconfig +9 -0
index 4be801cdfe..ce1a358e08 100644
@@ -1289,6 +1289,15 @@ config CMD_REISER
            reiserls - list files
            reiserload - load a file
 
+config CMD_SCSI
+       bool "scsi - Access to SCSI devices"
+       select SCSI
+       help
+         This provides a 'scsi' command which provides access to SCSI (Small
+         Computer System Interface) devices. The command provides a way to
+         scan the bus, reset the bus, read and write data and get information
+         about devices.
+
 endmenu
 
 menu "Debug commands"
cmd/Makefile +0 -0
index eff6bd678f..a85fe25dda 100644

cmd/Makefile obj-$(CONFIG_CMD_REMOTEPROC) += remoteproc.o · line 109

Quoted 5 lines
cmd/Makefile +1 -1
@@ -106,7 +106,7 @@ obj-$(CONFIG_CMD_REMOTEPROC) += remoteproc.o
 obj-$(CONFIG_SANDBOX) += host.o
 obj-$(CONFIG_CMD_SATA) += sata.o
 obj-$(CONFIG_CMD_SF) += sf.o
-obj-$(CONFIG_SCSI) += scsi.o disk.o
+obj-$(CONFIG_CMD_SCSI) += scsi.o disk.o

This looks odd. I remember you have another patch previously that split CMD_SCSI from SCSI itself.

Quoted 116 lines
cmd/Makefile +0 -0
 obj-$(CONFIG_CMD_SHA1SUM) += sha1sum.o
 obj-$(CONFIG_CMD_SETEXPR) += setexpr.o
 obj-$(CONFIG_CMD_SPI) += spi.o
configs/cl-som-am57x_defconfig +1 -0
index 2f1863f1ee..10c10f2387 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_SCSI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_CMD_PCA953X=y
 CONFIG_LED_STATUS=y
configs/controlcenterdc_defconfig +1 -0
index c7102810a3..01db848b4e 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_TIME=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
+CONFIG_CMD_SCSI=y
 CONFIG_EFI_PARTITION=y
 CONFIG_OF_BOARD_FIXUP=y
 CONFIG_SPL_OF_TRANSLATE=y
configs/ls1012aqds_qspi_defconfig +1 -0
index ea8e262317..c8864fa7b0 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_SCSI=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
include/configs/cl-som-am57x.h +0 -1
index ecc87fb6d2..d4a28a597c 100644
@@ -65,7 +65,6 @@
 
 #ifndef CONFIG_SPL_BUILD
 /* SATA */
-#define CONFIG_CMD_SCSI
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
include/configs/controlcenterdc.h +0 -1
index 09af7829ca..a9beb80c92 100644
@@ -33,7 +33,6 @@
  * Commands configuration
  */
 #define CONFIG_CMD_I2C
-#define CONFIG_CMD_SCSI
 #define CONFIG_CMD_SPI
 
 /* SPI NOR flash default params, used by sf commands */
include/configs/ls1012aqds.h +0 -1
index 162b866ad5..46cc33deac 100644
@@ -137,7 +137,6 @@
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_CMD_SCSI
 
 #define CONFIG_SYS_SATA                                AHCI_BASE_ADDR
 
include/configs/ls1012ardb.h +0 -1
index 653837c689..8d7888aec8 100644
@@ -53,7 +53,6 @@
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_CMD_SCSI
 
 #define CONFIG_SYS_SATA                                AHCI_BASE_ADDR
 
include/configs/ls1021aiot.h +0 -1
index 100b8511ac..9c3133caa8 100644
@@ -143,7 +143,6 @@
 #define CONFIG_FSL_ESDHC
 
 /* SATA */
-#define CONFIG_CMD_SCSI
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
include/configs/ls1043ardb.h +0 -1
index deae787358..79f2dc2987 100644
@@ -299,7 +299,6 @@
 #ifndef SPL_NO_SATA
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
-#define CONFIG_CMD_SCSI
 #ifndef CONFIG_CMD_EXT2
 #define CONFIG_CMD_EXT2
 #endif
scripts/config_whitelist.txt +0 -0
index a0b39a355f..4949e182c9 100644

scripts/config_whitelist.txt CONFIG_CM922T_XA10

Quoted 8 lines
scripts/config_whitelist.txt +0 -2
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SCSI
 CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
--

Regards,
Bin

#46 lore raw

PATCH 21/41 Convert CONFIG_CMD_SDRAM to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SDRAM

---

 README                               | 2 --
 cmd/Kconfig                          | 7 +++++++
 configs/MPC8349ITXGP_defconfig       | 1 +
 configs/MPC8349ITX_LOWBOOT_defconfig | 1 +
 configs/MPC8349ITX_defconfig         | 1 +
 configs/MigoR_defconfig              | 1 +
 configs/alt_defconfig                | 1 +
 configs/ap325rxa_defconfig           | 1 +
 configs/ap_sh4a_4a_defconfig         | 1 +
 configs/armadillo-800eva_defconfig   | 1 +
 configs/blanche_defconfig            | 1 +
 configs/ecovec_defconfig             | 1 +
 configs/espt_defconfig               | 1 +
 configs/gose_defconfig               | 1 +
 configs/koelsch_defconfig            | 1 +
 configs/lager_defconfig              | 1 +
 configs/ms7720se_defconfig           | 1 +
 configs/ms7722se_defconfig           | 1 +
 configs/porter_defconfig             | 1 +
 configs/r0p7734_defconfig            | 1 +
 configs/r7780mp_defconfig            | 1 +
 configs/r8a7795_salvator-x_defconfig | 1 +
 configs/r8a7796_salvator-x_defconfig | 1 +
 configs/rsk7203_defconfig            | 1 +
 configs/sh7752evb_defconfig          | 1 +
 configs/sh7753evb_defconfig          | 1 +
 configs/sh7757lcr_defconfig          | 1 +
 configs/sh7763rdp_defconfig          | 1 +
 configs/sh7785lcr_32bit_defconfig    | 1 +
 configs/sh7785lcr_defconfig          | 1 +
 configs/shmin_defconfig              | 1 +
 configs/silk_defconfig               | 1 +
 configs/socrates_defconfig           | 1 +
 configs/stout_defconfig              | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/MPC8349ITX.h         | 1 -
 include/configs/MigoR.h              | 2 --
 include/configs/ap325rxa.h           | 2 --
 include/configs/ap_sh4a_4a.h         | 2 --
 include/configs/armadillo-800eva.h   | 2 --
 include/configs/ecovec.h             | 2 --
 include/configs/espt.h               | 1 -
 include/configs/ms7720se.h           | 2 --
 include/configs/ms7722se.h           | 2 --
 include/configs/r0p7734.h            | 2 --
 include/configs/r7780mp.h            | 1 -
 include/configs/rcar-gen2-common.h   | 2 --
 include/configs/rcar-gen3-common.h   | 1 -
 include/configs/rsk7203.h            | 2 --
 include/configs/sh7752evb.h          | 2 --
 include/configs/sh7753evb.h          | 2 --
 include/configs/sh7757lcr.h          | 2 --
 include/configs/sh7763rdp.h          | 1 -
 include/configs/sh7785lcr.h          | 1 -
 include/configs/shmin.h              | 2 --
 include/configs/socrates.h           | 1 -
 scripts/config_whitelist.txt         | 1 -
 57 files changed, 39 insertions(+), 39 deletions(-)
README +0 -2
index ce179b828e..3958821f57 100644
@@ -816,8 +816,6 @@ The following options need to be configured:
 		CONFIG_CMD_PING		* send ICMP ECHO_REQUEST to network
 					  host
 		CONFIG_CMD_RUN		  run command in env variable
-		CONFIG_CMD_SDRAM	* print SDRAM configuration information
-					  (requires CONFIG_CMD_I2C)
 		CONFIG_CMD_SF		* Read/write/erase SPI NOR flash
 		CONFIG_CMD_SOFTSWITCH	* Soft switch setting command for BF60x
 		CONFIG_CMD_SOURCE	  "source" command Support
cmd/Kconfig +7 -0
index ce1a358e08..28aba0e780 100644
@@ -804,6 +804,13 @@ config CMD_SAVES
 	  Provides a way to save a binary file using the Motorola S-Record
 	  format over the serial line.
 
+config CMD_SDRAM
+	bool "sdram - Print SDRAM configuration information"
+	help
+	  Provides information about attached SDRAM. This assumed that the
+	  SDRAM has an EEPROM with information that can be read using the
+	  I2C bus. This is only available on some boards.
+
 endmenu
 
 
configs/MPC8349ITXGP_defconfig +1 -0
index 09af09d4c3..f1cfd3705c 100644
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="MPC8349E-mITX-GP> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
configs/MPC8349ITX_LOWBOOT_defconfig +1 -0
index 0650c7979a..4974dd1a9c 100644
@@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
configs/MPC8349ITX_defconfig +1 -0
index 3763f49ba6..22805ae63e 100644
@@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
configs/MigoR_defconfig +1 -0
index f09794e13c..eb4ab40e26 100644
@@ -12,6 +12,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/alt_defconfig +1 -0
index 04dda72532..3e7a0fdfc3 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/ap325rxa_defconfig +1 -0
index ebefd126a8..2571049f95 100644
@@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_ENV_EXISTS is not set
 CONFIG_CMD_IDE=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/ap_sh4a_4a_defconfig +1 -0
index 41c8be9120..ba753d6753 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/armadillo-800eva_defconfig +1 -0
index 4c16ec19fd..35bb0720eb 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/blanche_defconfig +1 -0
index bf7700cbe1..2d99b4466f 100644
@@ -8,6 +8,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_MMC=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/ecovec_defconfig +1 -0
index cc172f5181..b2cc056e33 100644
@@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/espt_defconfig +1 -0
index a6a7af9755..ee2a13d14a 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/gose_defconfig +1 -0
index 5627a18631..3d9c48b216 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/koelsch_defconfig +1 -0
index 465a6be8e7..8f447c7d37 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/lager_defconfig +1 -0
index c2f216bd51..8c4f45e7ff 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/ms7720se_defconfig +1 -0
index e1d8588233..7e343de66c 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCMCIA=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/ms7722se_defconfig +1 -0
index 92f3158dae..dcc7d7d5a3 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/porter_defconfig +1 -0
index a50d9ed99b..bea42bef90 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/r0p7734_defconfig +1 -0
index 91b08dc24f..7fc54456e8 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/r7780mp_defconfig +1 -0
index 57204fb7e5..30c036dd81 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/r8a7795_salvator-x_defconfig +1 -0
index c0e3999f96..52bfb28505 100644
@@ -9,6 +9,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/r8a7796_salvator-x_defconfig +1 -0
index d57305112b..2ad0ff8f7d 100644
@@ -10,6 +10,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/rsk7203_defconfig +1 -0
index 1aeb78aad1..2289ca06fb 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7752evb_defconfig +1 -0
index 4e19243f0d..e6e61d81da 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7753evb_defconfig +1 -0
index 23b7d7df48..0363c6f95e 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7757lcr_defconfig +1 -0
index 44224e1e43..28425e6d15 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7763rdp_defconfig +1 -0
index 028616666c..3e564b5f8d 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7785lcr_32bit_defconfig +1 -0
index 27f40f2a7b..1280e588c0 100644
@@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7785lcr_defconfig +1 -0
index 6b3b453f02..cd9a59b62a 100644
@@ -15,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/shmin_defconfig +1 -0
index dffff1187b..685c105f72 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/silk_defconfig +1 -0
index d161c3bb88..2abeb82258 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/socrates_defconfig +1 -0
index 76943a633a..1d80beb312 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_REGINFO=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/stout_defconfig +1 -0
index 48989aaea6..2efa5b7a57 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
include/config_cmd_all.h +0 -1
index 6ad3f17169..db9f336431 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_SDRAM	/* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
 #define CONFIG_CMD_UNIVERSE	/* Tundra Universe Support	*/
include/configs/MPC8349ITX.h +0 -1
index a825cd6a79..393d2103f5 100644
@@ -478,7 +478,6 @@ boards, we say we have two, but don't display a message if we find only one. */
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \
 				|| defined(CONFIG_USB_STORAGE)
include/configs/MigoR.h +0 -2
index 7217426d3a..ed753870cc 100644
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7722	1
 #define CONFIG_MIGO_R		1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200 root=1f01"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/ap325rxa.h +0 -2
index b3c22cf4a4..622c4b4758 100644
@@ -13,8 +13,6 @@
 #define CONFIG_CPU_SH7723	1
 #define CONFIG_AP325RXA	1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,38400"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/ap_sh4a_4a.h +0 -2
index 440505dd1f..4fa6b2eb38 100644
@@ -16,8 +16,6 @@
 
 #define CONFIG_SYS_TEXT_BASE 0x8BFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC4,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/armadillo-800eva.h +0 -2
index 2023895c3e..d670423b53 100644
@@ -16,8 +16,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
-
 #define BOARD_LATE_INIT
 
 #define CONFIG_BOOTARGS		""
include/configs/ecovec.h +0 -2
index 2404441860..463a1ba688 100644
@@ -28,8 +28,6 @@
 #define CONFIG_ECOVEC_ROMIMAGE_ADDR 0xA0040000
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/espt.h +0 -1
index 845bcc1c9a..47a3c153ba 100644
@@ -17,7 +17,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_BOOTARGS         "console=ttySC0,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
include/configs/ms7720se.h +0 -2
index 158b73ce50..791c26b937 100644
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7720	1
 #define CONFIG_MS7720SE		1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 #define CONFIG_BOOTFILE		"/boot/zImage"
 #define CONFIG_LOADADDR		0x8E000000
include/configs/ms7722se.h +0 -2
index de6e58a71e..57f07b40b4 100644
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7722	1
 #define CONFIG_MS7722SE		1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200 root=1f01"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/r0p7734.h +0 -2
index 6212dbae21..1304676e4a 100644
@@ -16,8 +16,6 @@
 
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC3,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/r7780mp.h +0 -1
index c40de4d1b6..cd6a3bdd85 100644
@@ -20,7 +20,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_SCIF_CONSOLE	1
 #define CONFIG_CONS_SCIF0	1
include/configs/rcar-gen2-common.h +0 -2
index 365950d729..217443d596 100644
@@ -11,8 +11,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
-
 /* Support File sytems */
 #define CONFIG_SUPPORT_VFAT
 #define CONFIG_FS_EXT4
include/configs/rcar-gen3-common.h +0 -1
index 8da3e7a235..a0eedf033a 100644
@@ -12,7 +12,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_EXT4
 #define CONFIG_CMD_EXT4_WRITE
include/configs/rsk7203.h +0 -2
index 8dc839df96..11d4fcddc0 100644
@@ -13,8 +13,6 @@
 #define CONFIG_CPU_SH7203	1
 #define CONFIG_RSK7203	1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 #define CONFIG_LOADADDR		0x0C100000 /* RSK7203_SDRAM_BASE + 1MB */
 
include/configs/sh7752evb.h +0 -2
index 3342a2966c..1c93349232 100644
@@ -14,8 +14,6 @@
 
 #define CONFIG_SYS_TEXT_BASE	0x5ff80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/sh7753evb.h +0 -2
index 78670422f7..9e8c730b8d 100644
@@ -14,8 +14,6 @@
 
 #define CONFIG_SYS_TEXT_BASE	0x5ff80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/sh7757lcr.h +0 -2
index e9cd3d749a..7fe1ac2ecd 100644
@@ -15,8 +15,6 @@
 
 #define CONFIG_SYS_TEXT_BASE	0x8ef80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/sh7763rdp.h +0 -1
index 2186f21f7a..6241b5745f 100644
@@ -17,7 +17,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_BOOTARGS         "console=ttySC2,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
include/configs/sh7785lcr.h +0 -1
index eb657be108..b0afc67257 100644
@@ -12,7 +12,6 @@
 #define CONFIG_CPU_SH7785	1
 #define CONFIG_SH7785LCR	1
 
-#define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_SH_ZIMAGEBOOT
 
 #define CONFIG_BOOTARGS		"console=ttySC1,115200 root=/dev/nfs ip=dhcp"
include/configs/shmin.h +0 -2
index 995f76a1ea..4e331dae92 100644
@@ -15,8 +15,6 @@
 /* T-SH7706LSR*/
 /* #define CONFIG_T_SH7706LSR	1 */
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 
 /*
include/configs/socrates.h +0 -1
index 89119dd14a..7f534b1515 100644
@@ -279,7 +279,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled		*/
 
scripts/config_whitelist.txt +0 -1
index 4949e182c9..6d61b4a526 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
 CONFIG_CMD_SPL
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#47 lore raw

PATCH 21/41 Convert CONFIG_CMD_SDRAM to Kconfig

Hi Simon,

Quoted 497 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SDRAM

---

 README                               | 2 --
 cmd/Kconfig                          | 7 +++++++
 configs/MPC8349ITXGP_defconfig       | 1 +
 configs/MPC8349ITX_LOWBOOT_defconfig | 1 +
 configs/MPC8349ITX_defconfig         | 1 +
 configs/MigoR_defconfig              | 1 +
 configs/alt_defconfig                | 1 +
 configs/ap325rxa_defconfig           | 1 +
 configs/ap_sh4a_4a_defconfig         | 1 +
 configs/armadillo-800eva_defconfig   | 1 +
 configs/blanche_defconfig            | 1 +
 configs/ecovec_defconfig             | 1 +
 configs/espt_defconfig               | 1 +
 configs/gose_defconfig               | 1 +
 configs/koelsch_defconfig            | 1 +
 configs/lager_defconfig              | 1 +
 configs/ms7720se_defconfig           | 1 +
 configs/ms7722se_defconfig           | 1 +
 configs/porter_defconfig             | 1 +
 configs/r0p7734_defconfig            | 1 +
 configs/r7780mp_defconfig            | 1 +
 configs/r8a7795_salvator-x_defconfig | 1 +
 configs/r8a7796_salvator-x_defconfig | 1 +
 configs/rsk7203_defconfig            | 1 +
 configs/sh7752evb_defconfig          | 1 +
 configs/sh7753evb_defconfig          | 1 +
 configs/sh7757lcr_defconfig          | 1 +
 configs/sh7763rdp_defconfig          | 1 +
 configs/sh7785lcr_32bit_defconfig    | 1 +
 configs/sh7785lcr_defconfig          | 1 +
 configs/shmin_defconfig              | 1 +
 configs/silk_defconfig               | 1 +
 configs/socrates_defconfig           | 1 +
 configs/stout_defconfig              | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/MPC8349ITX.h         | 1 -
 include/configs/MigoR.h              | 2 --
 include/configs/ap325rxa.h           | 2 --
 include/configs/ap_sh4a_4a.h         | 2 --
 include/configs/armadillo-800eva.h   | 2 --
 include/configs/ecovec.h             | 2 --
 include/configs/espt.h               | 1 -
 include/configs/ms7720se.h           | 2 --
 include/configs/ms7722se.h           | 2 --
 include/configs/r0p7734.h            | 2 --
 include/configs/r7780mp.h            | 1 -
 include/configs/rcar-gen2-common.h   | 2 --
 include/configs/rcar-gen3-common.h   | 1 -
 include/configs/rsk7203.h            | 2 --
 include/configs/sh7752evb.h          | 2 --
 include/configs/sh7753evb.h          | 2 --
 include/configs/sh7757lcr.h          | 2 --
 include/configs/sh7763rdp.h          | 1 -
 include/configs/sh7785lcr.h          | 1 -
 include/configs/shmin.h              | 2 --
 include/configs/socrates.h           | 1 -
 scripts/config_whitelist.txt         | 1 -
 57 files changed, 39 insertions(+), 39 deletions(-)
README +0 -2
index ce179b828e..3958821f57 100644
@@ -816,8 +816,6 @@ The following options need to be configured:
                CONFIG_CMD_PING         * send ICMP ECHO_REQUEST to network
                                          host
                CONFIG_CMD_RUN            run command in env variable
-               CONFIG_CMD_SDRAM        * print SDRAM configuration information
-                                         (requires CONFIG_CMD_I2C)
                CONFIG_CMD_SF           * Read/write/erase SPI NOR flash
                CONFIG_CMD_SOFTSWITCH   * Soft switch setting command for BF60x
                CONFIG_CMD_SOURCE         "source" command Support
cmd/Kconfig +7 -0
index ce1a358e08..28aba0e780 100644
@@ -804,6 +804,13 @@ config CMD_SAVES
          Provides a way to save a binary file using the Motorola S-Record
          format over the serial line.
 
+config CMD_SDRAM
+       bool "sdram - Print SDRAM configuration information"
+       help
+         Provides information about attached SDRAM. This assumed that the
+         SDRAM has an EEPROM with information that can be read using the
+         I2C bus. This is only available on some boards.
+
 endmenu
 
 
configs/MPC8349ITXGP_defconfig +1 -0
index 09af09d4c3..f1cfd3705c 100644
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="MPC8349E-mITX-GP> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
configs/MPC8349ITX_LOWBOOT_defconfig +1 -0
index 0650c7979a..4974dd1a9c 100644
@@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
configs/MPC8349ITX_defconfig +1 -0
index 3763f49ba6..22805ae63e 100644
@@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
configs/MigoR_defconfig +1 -0
index f09794e13c..eb4ab40e26 100644
@@ -12,6 +12,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/alt_defconfig +1 -0
index 04dda72532..3e7a0fdfc3 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/ap325rxa_defconfig +1 -0
index ebefd126a8..2571049f95 100644
@@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_ENV_EXISTS is not set
 CONFIG_CMD_IDE=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/ap_sh4a_4a_defconfig +1 -0
index 41c8be9120..ba753d6753 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/armadillo-800eva_defconfig +1 -0
index 4c16ec19fd..35bb0720eb 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/blanche_defconfig +1 -0
index bf7700cbe1..2d99b4466f 100644
@@ -8,6 +8,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_MMC=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/ecovec_defconfig +1 -0
index cc172f5181..b2cc056e33 100644
@@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/espt_defconfig +1 -0
index a6a7af9755..ee2a13d14a 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/gose_defconfig +1 -0
index 5627a18631..3d9c48b216 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/koelsch_defconfig +1 -0
index 465a6be8e7..8f447c7d37 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/lager_defconfig +1 -0
index c2f216bd51..8c4f45e7ff 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/ms7720se_defconfig +1 -0
index e1d8588233..7e343de66c 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCMCIA=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/ms7722se_defconfig +1 -0
index 92f3158dae..dcc7d7d5a3 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/porter_defconfig +1 -0
index a50d9ed99b..bea42bef90 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/r0p7734_defconfig +1 -0
index 91b08dc24f..7fc54456e8 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/r7780mp_defconfig +1 -0
index 57204fb7e5..30c036dd81 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/r8a7795_salvator-x_defconfig +1 -0
index c0e3999f96..52bfb28505 100644
@@ -9,6 +9,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/r8a7796_salvator-x_defconfig +1 -0
index d57305112b..2ad0ff8f7d 100644
@@ -10,6 +10,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/rsk7203_defconfig +1 -0
index 1aeb78aad1..2289ca06fb 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7752evb_defconfig +1 -0
index 4e19243f0d..e6e61d81da 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7753evb_defconfig +1 -0
index 23b7d7df48..0363c6f95e 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7757lcr_defconfig +1 -0
index 44224e1e43..28425e6d15 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7763rdp_defconfig +1 -0
index 028616666c..3e564b5f8d 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7785lcr_32bit_defconfig +1 -0
index 27f40f2a7b..1280e588c0 100644
@@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/sh7785lcr_defconfig +1 -0
index 6b3b453f02..cd9a59b62a 100644
@@ -15,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/shmin_defconfig +1 -0
index dffff1187b..685c105f72 100644
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
configs/silk_defconfig +1 -0
index d161c3bb88..2abeb82258 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/socrates_defconfig +1 -0
index 76943a633a..1d80beb312 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_REGINFO=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/stout_defconfig +1 -0
index 48989aaea6..2efa5b7a57 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
include/config_cmd_all.h +0 -1
index 6ad3f17169..db9f336431 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND                /* NAND support                 */
-#define CONFIG_CMD_SDRAM       /* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL    /* built-in Serial Terminal     */
 #define CONFIG_CMD_UBIFS       /* UBIFS Support                */
 #define CONFIG_CMD_UNIVERSE    /* Tundra Universe Support      */
include/configs/MPC8349ITX.h +0 -0
index a825cd6a79..393d2103f5 100644

include/configs/MPC8349ITX.h boards, we say we have two, but don't display a message if we find only one. */ · line 480

Quoted 3 lines
include/configs/MPC8349ITX.h +0 -0
@@ -478,7 +478,6 @@ boards, we say we have two, but don't display a message if we find only one. */
 /*
  * Command line configuration.
  */

The above comments should be removed.

Quoted 74 lines
include/configs/MPC8349ITX.h +0 -1
-#define CONFIG_CMD_SDRAM
 
 #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \
                                || defined(CONFIG_USB_STORAGE)
include/configs/MigoR.h +0 -2
index 7217426d3a..ed753870cc 100644
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7722      1
 #define CONFIG_MIGO_R          1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC0,115200 root=1f01"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/ap325rxa.h +0 -2
index b3c22cf4a4..622c4b4758 100644
@@ -13,8 +13,6 @@
 #define CONFIG_CPU_SH7723      1
 #define CONFIG_AP325RXA        1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC2,38400"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/ap_sh4a_4a.h +0 -2
index 440505dd1f..4fa6b2eb38 100644
@@ -16,8 +16,6 @@
 
 #define CONFIG_SYS_TEXT_BASE 0x8BFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC4,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/armadillo-800eva.h +0 -2
index 2023895c3e..d670423b53 100644
@@ -16,8 +16,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
-
 #define BOARD_LATE_INIT
 
 #define CONFIG_BOOTARGS                ""
include/configs/ecovec.h +0 -2
index 2404441860..463a1ba688 100644
@@ -28,8 +28,6 @@
 #define CONFIG_ECOVEC_ROMIMAGE_ADDR 0xA0040000
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC0,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/espt.h +0 -0
index 845bcc1c9a..47a3c153ba 100644

include/configs/espt.h line 19

Quoted 3 lines
include/configs/espt.h +0 -0
@@ -17,7 +17,6 @@
 /*
  * Command line configuration.
  */

ditto.

Quoted 48 lines
include/configs/espt.h +0 -1
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_BOOTARGS         "console=ttySC0,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
include/configs/ms7720se.h +0 -2
index 158b73ce50..791c26b937 100644
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7720      1
 #define CONFIG_MS7720SE                1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC0,115200"
 #define CONFIG_BOOTFILE                "/boot/zImage"
 #define CONFIG_LOADADDR                0x8E000000
include/configs/ms7722se.h +0 -2
index de6e58a71e..57f07b40b4 100644
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7722      1
 #define CONFIG_MS7722SE                1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC0,115200 root=1f01"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/r0p7734.h +0 -2
index 6212dbae21..1304676e4a 100644
@@ -16,8 +16,6 @@
 
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC3,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/r7780mp.h +0 -0
index c40de4d1b6..cd6a3bdd85 100644

include/configs/r7780mp.h line 22

Quoted 3 lines
include/configs/r7780mp.h +0 -0
@@ -20,7 +20,6 @@
 /*
  * Command line configuration.
  */

ditto.

Quoted 86 lines
include/configs/r7780mp.h +0 -1
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_SCIF_CONSOLE    1
 #define CONFIG_CONS_SCIF0      1
include/configs/rcar-gen2-common.h +0 -2
index 365950d729..217443d596 100644
@@ -11,8 +11,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
-
 /* Support File sytems */
 #define CONFIG_SUPPORT_VFAT
 #define CONFIG_FS_EXT4
include/configs/rcar-gen3-common.h +0 -1
index 8da3e7a235..a0eedf033a 100644
@@ -12,7 +12,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_EXT4
 #define CONFIG_CMD_EXT4_WRITE
include/configs/rsk7203.h +0 -2
index 8dc839df96..11d4fcddc0 100644
@@ -13,8 +13,6 @@
 #define CONFIG_CPU_SH7203      1
 #define CONFIG_RSK7203 1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC0,115200"
 #define CONFIG_LOADADDR                0x0C100000 /* RSK7203_SDRAM_BASE + 1MB */
 
include/configs/sh7752evb.h +0 -2
index 3342a2966c..1c93349232 100644
@@ -14,8 +14,6 @@
 
 #define CONFIG_SYS_TEXT_BASE   0x5ff80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/sh7753evb.h +0 -2
index 78670422f7..9e8c730b8d 100644
@@ -14,8 +14,6 @@
 
 #define CONFIG_SYS_TEXT_BASE   0x5ff80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/sh7757lcr.h +0 -2
index e9cd3d749a..7fe1ac2ecd 100644
@@ -15,8 +15,6 @@
 
 #define CONFIG_SYS_TEXT_BASE   0x8ef80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
include/configs/sh7763rdp.h +0 -0
index 2186f21f7a..6241b5745f 100644

include/configs/sh7763rdp.h line 19

Quoted 3 lines
include/configs/sh7763rdp.h +0 -0
@@ -17,7 +17,6 @@
 /*
  * Command line configuration.
  */

ditto.

Quoted 34 lines
include/configs/sh7763rdp.h +0 -1
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_BOOTARGS         "console=ttySC2,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
include/configs/sh7785lcr.h +0 -1
index eb657be108..b0afc67257 100644
@@ -12,7 +12,6 @@
 #define CONFIG_CPU_SH7785      1
 #define CONFIG_SH7785LCR       1
 
-#define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_SH_ZIMAGEBOOT
 
 #define CONFIG_BOOTARGS                "console=ttySC1,115200 root=/dev/nfs ip=dhcp"
include/configs/shmin.h +0 -2
index 995f76a1ea..4e331dae92 100644
@@ -15,8 +15,6 @@
 /* T-SH7706LSR*/
 /* #define CONFIG_T_SH7706LSR  1 */
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS                "console=ttySC0,115200"
 
 /*
include/configs/socrates.h +0 -0
index 89119dd14a..7f534b1515 100644

include/configs/socrates.h line 281

Quoted 3 lines
include/configs/socrates.h +0 -0
@@ -279,7 +279,6 @@
 /*
  * Command line configuration.
  */

ditto.

Quoted 9 lines
include/configs/socrates.h +0 -1
-#define CONFIG_CMD_SDRAM
 
 #undef CONFIG_WATCHDOG                 /* watchdog disabled            */
 
scripts/config_whitelist.txt +0 -0
index 4949e182c9..6d61b4a526 100644

scripts/config_whitelist.txt CONFIG_CM922T_XA10

Quoted 8 lines
scripts/config_whitelist.txt +0 -2
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
 CONFIG_CMD_SPL
--

Regards,
Bin

#48 lore raw

PATCH 22/41 Convert CONFIG_CMD_SF_TEST to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SF_TEST

---

 README                                   |  6 ------
 arch/Kconfig                             |  1 +
 arch/x86/cpu/baytrail/Kconfig            |  1 +
 cmd/Kconfig                              | 11 +++++++++++
 configs/chromebit_mickey_defconfig       |  1 +
 configs/chromebook_jerry_defconfig       |  1 +
 configs/chromebook_link64_defconfig      |  1 +
 configs/chromebook_link_defconfig        |  1 +
 configs/chromebook_minnie_defconfig      |  1 +
 configs/chromebook_samus_defconfig       |  1 +
 configs/chromebox_panther_defconfig      |  1 +
 configs/coreboot-x86_defconfig           |  1 +
 configs/cougarcanyon2_defconfig          |  1 +
 configs/crownbay_defconfig               |  1 +
 configs/galileo_defconfig                |  1 +
 configs/qemu-x86_64_defconfig            |  1 +
 configs/qemu-x86_defconfig               |  1 +
 configs/qemu-x86_efi_payload32_defconfig |  1 +
 configs/qemu-x86_efi_payload64_defconfig |  1 +
 configs/sandbox_defconfig                |  4 +---
 include/configs/efi-x86.h                |  2 --
 include/configs/sandbox.h                |  1 -
 include/configs/veyron.h                 |  2 --
 include/configs/x86-common.h             |  1 -
 scripts/config_whitelist.txt             |  1 -
 25 files changed, 29 insertions(+), 16 deletions(-)
README +0 -6
index 3958821f57..d0d6fe2b8d 100644
@@ -2506,12 +2506,6 @@ The following options need to be configured:
 		CONFIG_SF_DEFAULT_MODE 		(see include/spi.h)
 		CONFIG_SF_DEFAULT_SPEED		in Hz
 
-		CONFIG_CMD_SF_TEST
-
-		Define this option to include a destructive SPI flash
-		test ('sf test').
-
-- SystemACE Support:
 		CONFIG_SYSTEMACE
 
 		Adding this option adds support for Xilinx SystemACE
arch/Kconfig +1 -0
index 7e76abdbf3..a3c9b99ea5 100644
@@ -77,6 +77,7 @@ config SANDBOX
 	imply LZMA
 	imply SCSI
 	imply CMD_SATA
+	imply CMD_SF_TEST
 
 config SH
 	bool "SuperH architecture"
arch/x86/cpu/baytrail/Kconfig +1 -0
index 6c85186486..31e988c6ea 100644
@@ -7,6 +7,7 @@
 config INTEL_BAYTRAIL
 	bool
 	select HAVE_FSP if !EFI
+	imply CMD_SF_TEST
 
 if INTEL_BAYTRAIL
 config INTERNAL_UART
cmd/Kconfig +11 -0
index 28aba0e780..d01fda2450 100644
@@ -811,6 +811,17 @@ config CMD_SDRAM
 	  SDRAM has an EEPROM with information that can be read using the
 	  I2C bus. This is only available on some boards.
 
+config CMD_SF_TEST
+	bool "sf test - Allow testing of SPI flash"
+	help
+	  Provides a way to test that SPI flash is working correctly. the
+	  test is destructive, in that an area of SPI flash must be provided
+	  for the test to use. Performance informatoin is also provided,
+	  measuring the performance of reading, writing and erasing in
+	  Mbps (Million Bits Per Second). This value shold approximately
+	  equal the SPI bus speed for a single-bit-wide SPI bus, assuming
+	  everything is working properly.
+
 endmenu
 
 
configs/chromebit_mickey_defconfig +1 -0
index 7d0351e324..a3bba8e5a2 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
configs/chromebook_jerry_defconfig +1 -0
index 8f33bb8316..3dea406d4c 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
configs/chromebook_link64_defconfig +1 -0
index 8fdd09d0a1..545cbdf066 100644
@@ -38,6 +38,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/chromebook_link_defconfig +1 -0
index fdc3079046..05c55e6bcb 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/chromebook_minnie_defconfig +1 -0
index db1488a2ad..19ae3df239 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
configs/chromebook_samus_defconfig +1 -0
index 3c0c10a05e..4e4d64c405 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/chromebox_panther_defconfig +1 -0
index d8490bf062..a2cbfe08fd 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/coreboot-x86_defconfig +1 -0
index 9e9f112b85..8eb06df15a 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/cougarcanyon2_defconfig +1 -0
index b356532880..abe7b1d17b 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/crownbay_defconfig +1 -0
index 678daa98d2..549abc8196 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/galileo_defconfig +1 -0
index f3b32c101f..67a7df9611 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/qemu-x86_64_defconfig +1 -0
index c31e6407cc..55355c5be3 100644
@@ -39,6 +39,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/qemu-x86_defconfig +1 -0
index c356073161..b028942197 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/qemu-x86_efi_payload32_defconfig +1 -0
index 47e590cdf4..a68cd16cfc 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/qemu-x86_efi_payload64_defconfig +1 -0
index bd066645b8..314cae6a34 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
configs/sandbox_defconfig +1 -3
index 0e839dce73..7ceae2d582 100644
@@ -40,6 +40,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_READ=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TFTPSRV=y
 CONFIG_CMD_RARP=y
@@ -192,6 +193,3 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_CMD_MTDPARTS_SPREAD=y
-CONFIG_CMD_READ=y
include/configs/efi-x86.h +0 -2
index 9dcb481707..c455b592ae 100644
@@ -9,8 +9,6 @@
 
 #include <configs/x86-common.h>
 
-#undef CONFIG_CMD_SF_TEST
-
 #undef CONFIG_TPM_TIS_BASE_ADDRESS
 
 #undef CONFIG_ENV_IS_IN_SPI_FLASH
include/configs/sandbox.h +0 -1
index 5af382969b..fd579f72a8 100644
@@ -53,7 +53,6 @@
 #define CONFIG_ENV_IS_NOWHERE
 
 /* SPI - enable all SPI flash types for testing purposes */
-#define CONFIG_CMD_SF_TEST
 
 #define CONFIG_I2C_EDID
 
include/configs/veyron.h +0 -2
index 3bd8dd60b5..68835165e6 100644
@@ -18,8 +18,6 @@
 #define CONFIG_SPL_SPI_LOAD
 #define CONFIG_SPI_FLASH_GIGADEVICE
 
-#define CONFIG_CMD_SF_TEST
-
 #define CONFIG_KEYBOARD
 
 #endif
include/configs/x86-common.h +0 -1
index b8f46a1f54..028eb2e57c 100644
@@ -111,7 +111,6 @@
 /*-----------------------------------------------------------------------
  * FLASH configuration
  */
-#define CONFIG_CMD_SF_TEST
 #define CONFIG_SPI
 
 /*-----------------------------------------------------------------------
scripts/config_whitelist.txt +0 -1
index 6d61b4a526..d6f52068ff 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
 CONFIG_CMD_SPL
 CONFIG_CMD_SPL_NAND_OFS
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#49 lore raw

PATCH 22/41 Convert CONFIG_CMD_SF_TEST to Kconfig

Hi Simon,

Quoted 67 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SF_TEST

---

 README                                   |  6 ------
 arch/Kconfig                             |  1 +
 arch/x86/cpu/baytrail/Kconfig            |  1 +
 cmd/Kconfig                              | 11 +++++++++++
 configs/chromebit_mickey_defconfig       |  1 +
 configs/chromebook_jerry_defconfig       |  1 +
 configs/chromebook_link64_defconfig      |  1 +
 configs/chromebook_link_defconfig        |  1 +
 configs/chromebook_minnie_defconfig      |  1 +
 configs/chromebook_samus_defconfig       |  1 +
 configs/chromebox_panther_defconfig      |  1 +
 configs/coreboot-x86_defconfig           |  1 +
 configs/cougarcanyon2_defconfig          |  1 +
 configs/crownbay_defconfig               |  1 +
 configs/galileo_defconfig                |  1 +
 configs/qemu-x86_64_defconfig            |  1 +
 configs/qemu-x86_defconfig               |  1 +
 configs/qemu-x86_efi_payload32_defconfig |  1 +
 configs/qemu-x86_efi_payload64_defconfig |  1 +
 configs/sandbox_defconfig                |  4 +---
 include/configs/efi-x86.h                |  2 --
 include/configs/sandbox.h                |  1 -
 include/configs/veyron.h                 |  2 --
 include/configs/x86-common.h             |  1 -
 scripts/config_whitelist.txt             |  1 -
 25 files changed, 29 insertions(+), 16 deletions(-)
README +0 -6
index 3958821f57..d0d6fe2b8d 100644
@@ -2506,12 +2506,6 @@ The following options need to be configured:
                CONFIG_SF_DEFAULT_MODE          (see include/spi.h)
                CONFIG_SF_DEFAULT_SPEED         in Hz
 
-               CONFIG_CMD_SF_TEST
-
-               Define this option to include a destructive SPI flash
-               test ('sf test').
-
-- SystemACE Support:
                CONFIG_SYSTEMACE
 
                Adding this option adds support for Xilinx SystemACE
arch/Kconfig +1 -0
index 7e76abdbf3..a3c9b99ea5 100644
@@ -77,6 +77,7 @@ config SANDBOX
        imply LZMA
        imply SCSI
        imply CMD_SATA
+       imply CMD_SF_TEST
 
 config SH
        bool "SuperH architecture"
arch/x86/cpu/baytrail/Kconfig +0 -0
index 6c85186486..31e988c6ea 100644

arch/x86/cpu/baytrail/Kconfig line 10

Quoted 4 lines
arch/x86/cpu/baytrail/Kconfig +1 -0
@@ -7,6 +7,7 @@
 config INTEL_BAYTRAIL
        bool
        select HAVE_FSP if !EFI
+       imply CMD_SF_TEST

How about imply this for X86?

Quoted 8 lines
arch/x86/cpu/baytrail/Kconfig +0 -0
 if INTEL_BAYTRAIL
 config INTERNAL_UART
cmd/Kconfig +0 -0
index 28aba0e780..d01fda2450 100644

cmd/Kconfig config CMD_SDRAM · line 817

Quoted 7 lines
cmd/Kconfig +4 -0
@@ -811,6 +811,17 @@ config CMD_SDRAM
          SDRAM has an EEPROM with information that can be read using the
          I2C bus. This is only available on some boards.
 
+config CMD_SF_TEST
+       bool "sf test - Allow testing of SPI flash"
+       help
+         Provides a way to test that SPI flash is working correctly. the

nits: the -> The

cmd/Kconfig config CMD_SDRAM · line 819

Quoted 2 lines
cmd/Kconfig +2 -0
+         test is destructive, in that an area of SPI flash must be provided
+         for the test to use. Performance informatoin is also provided,

typo: information

cmd/Kconfig config CMD_SDRAM · line 821

Quoted 2 lines
cmd/Kconfig +2 -0
+         measuring the performance of reading, writing and erasing in
+         Mbps (Million Bits Per Second). This value shold approximately

typo: should

cmd/Kconfig config CMD_SDRAM · line 826

Quoted 5 lines
cmd/Kconfig +3 -0
+         equal the SPI bus speed for a single-bit-wide SPI bus, assuming
+         everything is working properly.
+
 endmenu
 

[snip]

Regards,
Bin

#50 lore raw

PATCH 23/41 Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SH_ZIMAGEBOOT

---

 arch/sh/Kconfig                   | 2 ++
 arch/sh/lib/Kconfig               | 5 +++++
 configs/r2dplus_defconfig         | 1 +
 configs/sh7785lcr_32bit_defconfig | 1 +
 configs/sh7785lcr_defconfig       | 1 +
 include/configs/r2dplus.h         | 1 -
 include/configs/sh7785lcr.h       | 2 --
 scripts/config_whitelist.txt      | 1 -
 8 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100644 arch/sh/lib/Kconfig
arch/sh/Kconfig +2 -0
index 6ac22af2f1..d20761e66c 100644
@@ -125,6 +125,8 @@ config SYS_CPU
 	default "sh3" if CPU_SH3
 	default "sh4" if CPU_SH4
 
+source "arch/sh/lib/Kconfig"
+
 source "board/alphaproject/ap_sh4a_4a/Kconfig"
 source "board/espt/Kconfig"
 source "board/mpr2/Kconfig"
arch/sh/lib/Kconfig new file +5 -0
new file mode 100644
index 0000000000..5142cb1af2
@@ -0,0 +1,5 @@
+config CMD_SH_ZIMAGEBOOT
+	bool "Boot a zImage on SH"
+	help
+	  This is special SH-specific command to boot a zImage (compressed
+	  Linux image) on SH-architecture boards.
configs/r2dplus_defconfig +1 -0
index aaf351d2a1..f6c0592b4b 100644
@@ -1,5 +1,6 @@
 CONFIG_SH=y
 CONFIG_TARGET_R2DPLUS=y
+CONFIG_CMD_SH_ZIMAGEBOOT=y
 CONFIG_BOOTDELAY=-1
 CONFIG_CMD_IDE=y
 CONFIG_CMD_PCI=y
configs/sh7785lcr_32bit_defconfig +1 -0
index 1280e588c0..8353a744fb 100644
@@ -1,6 +1,7 @@
 CONFIG_SH=y
 CONFIG_SH_32BIT=y
 CONFIG_TARGET_SH7785LCR=y
+CONFIG_CMD_SH_ZIMAGEBOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_BDI is not set
configs/sh7785lcr_defconfig +1 -0
index cd9a59b62a..110b2ba15f 100644
@@ -1,5 +1,6 @@
 CONFIG_SH=y
 CONFIG_TARGET_SH7785LCR=y
+CONFIG_CMD_SH_ZIMAGEBOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_BDI is not set
include/configs/r2dplus.h +0 -1
index 19f9088b3d..7fa7932048 100644
@@ -11,7 +11,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SH_ZIMAGEBOOT
 
 /* SCIF */
 #define CONFIG_SCIF_CONSOLE	1
include/configs/sh7785lcr.h +0 -2
index b0afc67257..d925aadb8d 100644
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7785	1
 #define CONFIG_SH7785LCR	1
 
-#define CONFIG_CMD_SH_ZIMAGEBOOT
-
 #define CONFIG_BOOTARGS		"console=ttySC1,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_EXTRA_ENV_SETTINGS					\
scripts/config_whitelist.txt +0 -1
index d6f52068ff..1a39eb41b4 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SH_ZIMAGEBOOT
 CONFIG_CMD_SPL
 CONFIG_CMD_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#51 lore raw

PATCH 23/41 Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig

Hi Simon,

Quoted 36 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SH_ZIMAGEBOOT

---

 arch/sh/Kconfig                   | 2 ++
 arch/sh/lib/Kconfig               | 5 +++++
 configs/r2dplus_defconfig         | 1 +
 configs/sh7785lcr_32bit_defconfig | 1 +
 configs/sh7785lcr_defconfig       | 1 +
 include/configs/r2dplus.h         | 1 -
 include/configs/sh7785lcr.h       | 2 --
 scripts/config_whitelist.txt      | 1 -
 8 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100644 arch/sh/lib/Kconfig
arch/sh/Kconfig +2 -0
index 6ac22af2f1..d20761e66c 100644
@@ -125,6 +125,8 @@ config SYS_CPU
        default "sh3" if CPU_SH3
        default "sh4" if CPU_SH4
 
+source "arch/sh/lib/Kconfig"
+
 source "board/alphaproject/ap_sh4a_4a/Kconfig"
 source "board/espt/Kconfig"
 source "board/mpr2/Kconfig"
arch/sh/lib/Kconfig new file +0 -0
new file mode 100644
index 0000000000..5142cb1af2

arch/sh/lib/Kconfig line 2

Quoted 2 lines
arch/sh/lib/Kconfig new file +2 -0
@@ -0,0 +1,5 @@
+config CMD_SH_ZIMAGEBOOT
+       bool "Boot a zImage on SH"

Shouldn't it be: "zimageboot - Boot a zImage on SH"

And I think this should be "default y" otherwise it's not useful. This eliminates the need to update SH boards defconfig files.

arch/sh/lib/Kconfig line 5

Quoted 3 lines
arch/sh/lib/Kconfig new file +3 -0
+       help
+         This is special SH-specific command to boot a zImage (compressed
+         Linux image) on SH-architecture boards.

[snip]

Regards,
Bin

#52 lore raw

PATCH 24/41 Convert CONFIG_CMD_SPL to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SPL

---

 arch/arm/Kconfig                          | 1 +
 arch/arm/mach-imx/mx6/Kconfig             | 1 +
 arch/arm/mach-omap2/am33xx/Kconfig        | 1 +
 cmd/Kconfig                               | 9 +++++++++
 configs/am335x_boneblack_defconfig        | 2 +-
 configs/am335x_boneblack_vboot_defconfig  | 1 +
 configs/am335x_evm_defconfig              | 1 +
 configs/am335x_evm_nor_defconfig          | 1 +
 configs/am335x_evm_usbspl_defconfig       | 1 +
 configs/am335x_igep003x_defconfig         | 1 +
 configs/am335x_sl50_defconfig             | 1 +
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/am57xx_evm_defconfig              | 1 +
 configs/am57xx_evm_nodt_defconfig         | 1 +
 configs/birdland_bav335a_defconfig        | 1 +
 configs/birdland_bav335b_defconfig        | 1 +
 configs/cairo_defconfig                   | 1 +
 configs/devkit8000_defconfig              | 1 +
 configs/dra7xx_evm_defconfig              | 1 +
 configs/igep0020_defconfig                | 1 +
 configs/igep0030_defconfig                | 1 +
 configs/igep0032_defconfig                | 1 +
 configs/ipam390_defconfig                 | 1 +
 configs/microblaze-generic_defconfig      | 1 +
 configs/mx6sabresd_defconfig              | 1 +
 configs/omap3_beagle_defconfig            | 1 +
 configs/omap3_logic_defconfig             | 1 +
 configs/omap3_overo_defconfig             | 1 +
 configs/omap4_panda_defconfig             | 1 +
 configs/omap5_uevm_defconfig              | 1 +
 configs/pcm051_rev1_defconfig             | 1 +
 configs/pcm051_rev3_defconfig             | 1 +
 configs/pengwyn_defconfig                 | 1 +
 configs/twister_defconfig                 | 1 +
 include/configs/gw_ventana.h              | 1 -
 include/configs/ipam390.h                 | 1 -
 include/configs/microblaze-generic.h      | 1 -
 include/configs/mx6sabreauto.h            | 1 -
 include/configs/mx6sabresd.h              | 1 -
 include/configs/ti_armv7_common.h         | 1 -
 include/configs/trats.h                   | 1 -
 include/configs/twister.h                 | 1 -
 include/configs/zynq-common.h             | 1 -
 scripts/config_whitelist.txt              | 1 -
 46 files changed, 44 insertions(+), 11 deletions(-)
arch/arm/Kconfig +1 -0
index 3cc252ac27..c6cfac97ac 100644
@@ -728,6 +728,7 @@ config ARCH_ZYNQ
 	select CLK_ZYNQ
 	imply CMD_CLK
 	imply FAT_WRITE
+	imply CMD_SPL
 
 config ARCH_ZYNQMP
 	bool "Support Xilinx ZynqMP Platform"
arch/arm/mach-imx/mx6/Kconfig +1 -0
index 1595a764c5..6461c88b17 100644
@@ -144,6 +144,7 @@ config TARGET_GW_VENTANA
 	bool "gw_ventana"
 	select SUPPORT_SPL
 	imply CMD_SATA
+	imply CMD_SPL
 
 config TARGET_KOSAGI_NOVENA
 	bool "Kosagi Novena"
arch/arm/mach-omap2/am33xx/Kconfig +1 -0
index d8abba992a..7260d27877 100644
@@ -81,6 +81,7 @@ config TARGET_AM335X_SHC
 	select DM
 	select DM_SERIAL
 	select DM_GPIO
+	imply CMD_SPL
 
 config TARGET_AM335X_SL50
 	bool "Support am335x_sl50"
cmd/Kconfig +9 -0
index d01fda2450..0cc5d56d7f 100644
@@ -270,6 +270,15 @@ config CMD_POWEROFF
 	help
 	  Poweroff/Shutdown the system
 
+config CMD_SPL
+	bool "spl export - Export boot information for Falcon boot"
+	depends on SPL
+	help
+	  Falcon mode allows booting directly from SPL into an Operating
+	  System such as Linux, thus skipping U-Boot proper. See
+	  doc/README.falcon for full information about how to use this
+	  command.
+
 endmenu
 
 menu "Environment commands"
configs/am335x_boneblack_defconfig +1 -1
index c69867705e..195b24f7f7 100644
@@ -22,8 +22,8 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
-CONFIG_CMD_FASTBOOT=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DFU_TFTP=y
 CONFIG_DFU_MMC=y
configs/am335x_boneblack_vboot_defconfig +1 -0
index b11d0a71da..e7890fc8b5 100644
@@ -25,6 +25,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
configs/am335x_evm_defconfig +1 -0
index 860ef7dd95..2e5bb103a5 100644
@@ -20,6 +20,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_evm_nor_defconfig +1 -0
index 9cadc0b61a..c70cd6d247 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
configs/am335x_evm_usbspl_defconfig +1 -0
index 0a6e26eba9..49f732b81e 100644
@@ -22,6 +22,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_igep003x_defconfig +1 -0
index 8fc31461f1..cef7c315cf 100644
@@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/am335x_sl50_defconfig +1 -0
index 855e1ca9e2..10e1d1c870 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_defconfig +1 -0
index 83a48b8b3e..5d707b92e3 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index dfac27b929..19d596278d 100644
@@ -14,6 +14,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index 8fa6d91b43..fd6ff5f285 100644
@@ -18,6 +18,7 @@ CONFIG_SPL_USB_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am57xx_evm_defconfig +1 -0
index 658ab92487..4b1ceb820b 100644
@@ -31,6 +31,7 @@ CONFIG_FASTBOOT_USB_DEV=1
 CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
configs/am57xx_evm_nodt_defconfig +1 -0
index 6048e6c911..d8cbcda21a 100644
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/birdland_bav335a_defconfig +1 -0
index 073a58d94e..18e0100a7b 100644
@@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/birdland_bav335b_defconfig +1 -0
index 5269c177d4..a143142ae7 100644
@@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/cairo_defconfig +1 -0
index f6caae0280..a1506ff339 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Cairo # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/devkit8000_defconfig +1 -0
index d2c2010d55..17cdab7428 100644
@@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/dra7xx_evm_defconfig +1 -0
index 6dd1baf6e9..4634e8e7af 100644
@@ -30,6 +30,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x2f000000
 CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_ISO_PARTITION=y
configs/igep0020_defconfig +1 -0
index a347c547e2..bcd4f22b79 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0030_defconfig +1 -0
index 01e340832b..30ab21079e 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0032_defconfig +1 -0
index 71e01a59bf..493bf41713 100644
@@ -14,6 +14,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/ipam390_defconfig +1 -0
index 3c32a6b0ec..68bbe8667d 100644
@@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
configs/microblaze-generic_defconfig +1 -0
index 471be29ee5..45aaf3bbd5 100644
@@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_OS_BASE=0x2c060000
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
configs/mx6sabresd_defconfig +1 -0
index 535c98005f..7bd6da1654 100644
@@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/omap3_beagle_defconfig +1 -0
index fbffc3c33e..aebacd2918 100644
@@ -9,6 +9,7 @@ CONFIG_SPL=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap3_logic_defconfig +1 -0
index db8f4683e2..022a7c15c8 100644
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="OMAP Logic # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_EEPROM is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_USB is not set
configs/omap3_overo_defconfig +1 -0
index f4c3d3233d..a5e2f25873 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="Overo # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap4_panda_defconfig +1 -0
index 3d91f137e8..44eaed8590 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 # CONFIG_SPL_I2C_SUPPORT is not set
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap5_uevm_defconfig +1 -0
index 0af00b14be..81edba49b3 100644
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/pcm051_rev1_defconfig +1 -0
index 466aa511ba..8faaad9b6f 100644
@@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pcm051_rev3_defconfig +1 -0
index 7150e79ed6..b2126f0f56 100644
@@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pengwyn_defconfig +1 -0
index 6b30c7ad78..0a3553f60f 100644
@@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/twister_defconfig +1 -0
index f7c933630b..4d3157a28b 100644
@@ -9,6 +9,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
include/configs/gw_ventana.h +0 -1
index 56c002ee4e..321a487cb9 100644
@@ -12,7 +12,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS     (14 * SZ_1M)
 
 /* Falcon Mode */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR	0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE	(128 * SZ_1K)
 
include/configs/ipam390.h +0 -1
index 95cd769843..2999ac36e7 100644
@@ -285,7 +285,6 @@
 					GENERATED_GBL_DATA_SIZE)
 
 /* add FALCON boot mode */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR	LINUX_BOOT_PARAM_ADDR
 #define CONFIG_CMD_SPL_NAND_OFS		0x00180000
include/configs/microblaze-generic.h +0 -1
index 5a1875ad15..b71f85b163 100644
@@ -260,7 +260,6 @@
 #endif
 
 /* SPL part */
-#define CONFIG_CMD_SPL
 #define CONFIG_SPL_FRAMEWORK
 
 #define CONFIG_SPL_LDSCRIPT	"arch/microblaze/cpu/u-boot-spl.lds"
include/configs/mx6sabreauto.h +0 -1
index 900e2a904b..f561bfd2a3 100644
@@ -34,7 +34,6 @@
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
include/configs/mx6sabresd.h +0 -1
index 0fa442985a..9622394c8f 100644
@@ -24,7 +24,6 @@
 /* Falcon Mode */
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
include/configs/ti_armv7_common.h +0 -1
index a94748c35d..dc7cd92e80 100644
@@ -204,7 +204,6 @@
 
 
 /* spl export command */
-#define CONFIG_CMD_SPL
 #endif
 
 /* General parts of the framework, required. */
include/configs/trats.h +0 -1
index e08bbc49ae..affdf0230e 100644
@@ -167,7 +167,6 @@
 	"fdtaddr=40800000\0" \
 
 /* Falcon mode definitions */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR        CONFIG_SYS_SDRAM_BASE + 0x100
 
 /* GPT */
include/configs/twister.h +0 -1
index 94dde90e60..c45ae87a41 100644
@@ -36,7 +36,6 @@
 	"bootcmd=run nandboot\0"
 
 /* SPL OS boot options */
-#define CONFIG_CMD_SPL
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_CMD_SPL_NAND_OFS	(CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
include/configs/zynq-common.h +0 -1
index 4b6b088851..b69f4c7ba4 100644
@@ -276,7 +276,6 @@
 /* Commands */
 
 /* SPL part */
-#define CONFIG_CMD_SPL
 #define CONFIG_SPL_FRAMEWORK
 
 #define CONFIG_SPL_LDSCRIPT	"arch/arm/mach-zynq/u-boot-spl.lds"
scripts/config_whitelist.txt +0 -1
index 1a39eb41b4..44d38f8ca1 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SPL
 CONFIG_CMD_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#53 lore raw

PATCH 24/41 Convert CONFIG_CMD_SPL to Kconfig

Hi Simon,

Quoted 561 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SPL

---

 arch/arm/Kconfig                          | 1 +
 arch/arm/mach-imx/mx6/Kconfig             | 1 +
 arch/arm/mach-omap2/am33xx/Kconfig        | 1 +
 cmd/Kconfig                               | 9 +++++++++
 configs/am335x_boneblack_defconfig        | 2 +-
 configs/am335x_boneblack_vboot_defconfig  | 1 +
 configs/am335x_evm_defconfig              | 1 +
 configs/am335x_evm_nor_defconfig          | 1 +
 configs/am335x_evm_usbspl_defconfig       | 1 +
 configs/am335x_igep003x_defconfig         | 1 +
 configs/am335x_sl50_defconfig             | 1 +
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/am57xx_evm_defconfig              | 1 +
 configs/am57xx_evm_nodt_defconfig         | 1 +
 configs/birdland_bav335a_defconfig        | 1 +
 configs/birdland_bav335b_defconfig        | 1 +
 configs/cairo_defconfig                   | 1 +
 configs/devkit8000_defconfig              | 1 +
 configs/dra7xx_evm_defconfig              | 1 +
 configs/igep0020_defconfig                | 1 +
 configs/igep0030_defconfig                | 1 +
 configs/igep0032_defconfig                | 1 +
 configs/ipam390_defconfig                 | 1 +
 configs/microblaze-generic_defconfig      | 1 +
 configs/mx6sabresd_defconfig              | 1 +
 configs/omap3_beagle_defconfig            | 1 +
 configs/omap3_logic_defconfig             | 1 +
 configs/omap3_overo_defconfig             | 1 +
 configs/omap4_panda_defconfig             | 1 +
 configs/omap5_uevm_defconfig              | 1 +
 configs/pcm051_rev1_defconfig             | 1 +
 configs/pcm051_rev3_defconfig             | 1 +
 configs/pengwyn_defconfig                 | 1 +
 configs/twister_defconfig                 | 1 +
 include/configs/gw_ventana.h              | 1 -
 include/configs/ipam390.h                 | 1 -
 include/configs/microblaze-generic.h      | 1 -
 include/configs/mx6sabreauto.h            | 1 -
 include/configs/mx6sabresd.h              | 1 -
 include/configs/ti_armv7_common.h         | 1 -
 include/configs/trats.h                   | 1 -
 include/configs/twister.h                 | 1 -
 include/configs/zynq-common.h             | 1 -
 scripts/config_whitelist.txt              | 1 -
 46 files changed, 44 insertions(+), 11 deletions(-)
arch/arm/Kconfig +1 -0
index 3cc252ac27..c6cfac97ac 100644
@@ -728,6 +728,7 @@ config ARCH_ZYNQ
        select CLK_ZYNQ
        imply CMD_CLK
        imply FAT_WRITE
+       imply CMD_SPL
 
 config ARCH_ZYNQMP
        bool "Support Xilinx ZynqMP Platform"
arch/arm/mach-imx/mx6/Kconfig +1 -0
index 1595a764c5..6461c88b17 100644
@@ -144,6 +144,7 @@ config TARGET_GW_VENTANA
        bool "gw_ventana"
        select SUPPORT_SPL
        imply CMD_SATA
+       imply CMD_SPL
 
 config TARGET_KOSAGI_NOVENA
        bool "Kosagi Novena"
arch/arm/mach-omap2/am33xx/Kconfig +1 -0
index d8abba992a..7260d27877 100644
@@ -81,6 +81,7 @@ config TARGET_AM335X_SHC
        select DM
        select DM_SERIAL
        select DM_GPIO
+       imply CMD_SPL
 
 config TARGET_AM335X_SL50
        bool "Support am335x_sl50"
cmd/Kconfig +9 -0
index d01fda2450..0cc5d56d7f 100644
@@ -270,6 +270,15 @@ config CMD_POWEROFF
        help
          Poweroff/Shutdown the system
 
+config CMD_SPL
+       bool "spl export - Export boot information for Falcon boot"
+       depends on SPL
+       help
+         Falcon mode allows booting directly from SPL into an Operating
+         System such as Linux, thus skipping U-Boot proper. See
+         doc/README.falcon for full information about how to use this
+         command.
+
 endmenu
 
 menu "Environment commands"
configs/am335x_boneblack_defconfig +1 -1
index c69867705e..195b24f7f7 100644
@@ -22,8 +22,8 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
-CONFIG_CMD_FASTBOOT=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DFU_TFTP=y
 CONFIG_DFU_MMC=y
configs/am335x_boneblack_vboot_defconfig +1 -0
index b11d0a71da..e7890fc8b5 100644
@@ -25,6 +25,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
configs/am335x_evm_defconfig +1 -0
index 860ef7dd95..2e5bb103a5 100644
@@ -20,6 +20,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_evm_nor_defconfig +1 -0
index 9cadc0b61a..c70cd6d247 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
configs/am335x_evm_usbspl_defconfig +1 -0
index 0a6e26eba9..49f732b81e 100644
@@ -22,6 +22,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_igep003x_defconfig +1 -0
index 8fc31461f1..cef7c315cf 100644
@@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/am335x_sl50_defconfig +1 -0
index 855e1ca9e2..10e1d1c870 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_defconfig +1 -0
index 83a48b8b3e..5d707b92e3 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index dfac27b929..19d596278d 100644
@@ -14,6 +14,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index 8fa6d91b43..fd6ff5f285 100644
@@ -18,6 +18,7 @@ CONFIG_SPL_USB_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am57xx_evm_defconfig +1 -0
index 658ab92487..4b1ceb820b 100644
@@ -31,6 +31,7 @@ CONFIG_FASTBOOT_USB_DEV=1
 CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
configs/am57xx_evm_nodt_defconfig +1 -0
index 6048e6c911..d8cbcda21a 100644
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/birdland_bav335a_defconfig +1 -0
index 073a58d94e..18e0100a7b 100644
@@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/birdland_bav335b_defconfig +1 -0
index 5269c177d4..a143142ae7 100644
@@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/cairo_defconfig +1 -0
index f6caae0280..a1506ff339 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Cairo # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/devkit8000_defconfig +1 -0
index d2c2010d55..17cdab7428 100644
@@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/dra7xx_evm_defconfig +1 -0
index 6dd1baf6e9..4634e8e7af 100644
@@ -30,6 +30,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x2f000000
 CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_ISO_PARTITION=y
configs/igep0020_defconfig +1 -0
index a347c547e2..bcd4f22b79 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0030_defconfig +1 -0
index 01e340832b..30ab21079e 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0032_defconfig +1 -0
index 71e01a59bf..493bf41713 100644
@@ -14,6 +14,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/ipam390_defconfig +1 -0
index 3c32a6b0ec..68bbe8667d 100644
@@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
configs/microblaze-generic_defconfig +1 -0
index 471be29ee5..45aaf3bbd5 100644
@@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_OS_BASE=0x2c060000
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
configs/mx6sabresd_defconfig +1 -0
index 535c98005f..7bd6da1654 100644
@@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/omap3_beagle_defconfig +1 -0
index fbffc3c33e..aebacd2918 100644
@@ -9,6 +9,7 @@ CONFIG_SPL=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap3_logic_defconfig +1 -0
index db8f4683e2..022a7c15c8 100644
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="OMAP Logic # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_EEPROM is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_USB is not set
configs/omap3_overo_defconfig +1 -0
index f4c3d3233d..a5e2f25873 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="Overo # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap4_panda_defconfig +1 -0
index 3d91f137e8..44eaed8590 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 # CONFIG_SPL_I2C_SUPPORT is not set
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap5_uevm_defconfig +1 -0
index 0af00b14be..81edba49b3 100644
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/pcm051_rev1_defconfig +1 -0
index 466aa511ba..8faaad9b6f 100644
@@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pcm051_rev3_defconfig +1 -0
index 7150e79ed6..b2126f0f56 100644
@@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pengwyn_defconfig +1 -0
index 6b30c7ad78..0a3553f60f 100644
@@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/twister_defconfig +1 -0
index f7c933630b..4d3157a28b 100644
@@ -9,6 +9,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
include/configs/gw_ventana.h +0 -1
index 56c002ee4e..321a487cb9 100644
@@ -12,7 +12,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS     (14 * SZ_1M)
 
 /* Falcon Mode */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
include/configs/ipam390.h +0 -1
index 95cd769843..2999ac36e7 100644
@@ -285,7 +285,6 @@
                                        GENERATED_GBL_DATA_SIZE)
 
 /* add FALCON boot mode */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR       LINUX_BOOT_PARAM_ADDR
 #define CONFIG_CMD_SPL_NAND_OFS                0x00180000
include/configs/microblaze-generic.h +0 -1
index 5a1875ad15..b71f85b163 100644
@@ -260,7 +260,6 @@
 #endif
 
 /* SPL part */
-#define CONFIG_CMD_SPL
 #define CONFIG_SPL_FRAMEWORK
 
 #define CONFIG_SPL_LDSCRIPT    "arch/microblaze/cpu/u-boot-spl.lds"
include/configs/mx6sabreauto.h +0 -1
index 900e2a904b..f561bfd2a3 100644
@@ -34,7 +34,6 @@
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME   "args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
include/configs/mx6sabresd.h +0 -1
index 0fa442985a..9622394c8f 100644
@@ -24,7 +24,6 @@
 /* Falcon Mode */
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME   "args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
include/configs/ti_armv7_common.h +0 -0
index a94748c35d..dc7cd92e80 100644

include/configs/ti_armv7_common.h line 206

Quoted 3 lines
include/configs/ti_armv7_common.h +0 -0
@@ -204,7 +204,6 @@
 
 
 /* spl export command */

The above comments should be removed.

Quoted 45 lines
include/configs/ti_armv7_common.h +0 -1
-#define CONFIG_CMD_SPL
 #endif
 
 /* General parts of the framework, required. */
include/configs/trats.h +0 -1
index e08bbc49ae..affdf0230e 100644
@@ -167,7 +167,6 @@
        "fdtaddr=40800000\0" \
 
 /* Falcon mode definitions */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR        CONFIG_SYS_SDRAM_BASE + 0x100
 
 /* GPT */
include/configs/twister.h +0 -1
index 94dde90e60..c45ae87a41 100644
@@ -36,7 +36,6 @@
        "bootcmd=run nandboot\0"
 
 /* SPL OS boot options */
-#define CONFIG_CMD_SPL
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
 #define CONFIG_CMD_SPL_NAND_OFS        (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
include/configs/zynq-common.h +0 -1
index 4b6b088851..b69f4c7ba4 100644
@@ -276,7 +276,6 @@
 /* Commands */
 
 /* SPL part */
-#define CONFIG_CMD_SPL
 #define CONFIG_SPL_FRAMEWORK
 
 #define CONFIG_SPL_LDSCRIPT    "arch/arm/mach-zynq/u-boot-spl.lds"
scripts/config_whitelist.txt +0 -0
index 1a39eb41b4..44d38f8ca1 100644

scripts/config_whitelist.txt CONFIG_CM922T_XA10

Quoted 8 lines
scripts/config_whitelist.txt +0 -2
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SPL
 CONFIG_CMD_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
--

Other than that,

Regards,
Bin

#54 lore raw

PATCH 25/41 Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SPL_NAND_OFS

---

 cmd/Kconfig                                | 10 ++++++++++
 configs/am335x_boneblack_defconfig         |  1 +
 configs/am335x_boneblack_vboot_defconfig   |  1 +
 configs/am335x_evm_defconfig               |  1 +
 configs/am335x_evm_nor_defconfig           |  1 +
 configs/am335x_evm_usbspl_defconfig        |  1 +
 configs/am335x_igep003x_defconfig          |  1 +
 configs/am335x_shc_defconfig               |  1 +
 configs/am335x_shc_ict_defconfig           |  1 +
 configs/am335x_shc_netboot_defconfig       |  1 +
 configs/am335x_shc_prompt_defconfig        |  1 +
 configs/am335x_shc_sdboot_defconfig        |  1 +
 configs/am335x_shc_sdboot_prompt_defconfig |  1 +
 configs/am335x_sl50_defconfig              |  1 +
 configs/am43xx_evm_defconfig               |  1 +
 configs/am43xx_evm_ethboot_defconfig       |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig  |  1 +
 configs/am57xx_evm_defconfig               |  1 +
 configs/am57xx_evm_nodt_defconfig          |  1 +
 configs/birdland_bav335a_defconfig         |  1 +
 configs/birdland_bav335b_defconfig         |  1 +
 configs/cairo_defconfig                    |  1 +
 configs/devkit8000_defconfig               |  1 +
 configs/dra7xx_evm_defconfig               |  1 +
 configs/gwventana_emmc_defconfig           |  1 +
 configs/gwventana_gw5904_defconfig         |  1 +
 configs/gwventana_nand_defconfig           |  1 +
 configs/igep0020_defconfig                 |  1 +
 configs/igep0030_defconfig                 |  1 +
 configs/igep0032_defconfig                 |  1 +
 configs/ipam390_defconfig                  |  1 +
 configs/microblaze-generic_defconfig       |  1 +
 configs/mx6sabresd_defconfig               |  1 +
 configs/omap3_beagle_defconfig             |  1 +
 configs/omap3_logic_defconfig              |  1 +
 configs/omap3_overo_defconfig              |  1 +
 configs/omap4_panda_defconfig              |  1 +
 configs/omap5_uevm_defconfig               |  1 +
 configs/pcm051_rev1_defconfig              |  1 +
 configs/pcm051_rev3_defconfig              |  1 +
 configs/pengwyn_defconfig                  |  1 +
 configs/topic_miami_defconfig              |  1 +
 configs/topic_miamilite_defconfig          |  1 +
 configs/topic_miamiplus_defconfig          |  1 +
 configs/twister_defconfig                  |  1 +
 configs/zynq_microzed_defconfig            |  1 +
 configs/zynq_picozed_defconfig             |  1 +
 configs/zynq_zc702_defconfig               |  1 +
 configs/zynq_zc706_defconfig               |  1 +
 configs/zynq_zc770_xm010_defconfig         |  1 +
 configs/zynq_zc770_xm011_defconfig         |  1 +
 configs/zynq_zc770_xm012_defconfig         |  1 +
 configs/zynq_zc770_xm013_defconfig         |  1 +
 configs/zynq_zed_defconfig                 |  1 +
 configs/zynq_zybo_defconfig                |  1 +
 include/configs/am335x_evm.h               |  1 -
 include/configs/am43xx_evm.h               |  1 -
 include/configs/baltos.h                   |  1 -
 include/configs/bav335x.h                  |  1 -
 include/configs/brppt1.h                   |  1 -
 include/configs/cm_t335.h                  |  1 -
 include/configs/devkit8000.h               |  2 --
 include/configs/dra7xx_evm.h               |  1 -
 include/configs/gw_ventana.h               |  1 -
 include/configs/ipam390.h                  |  1 -
 include/configs/omap3_beagle.h             |  1 -
 include/configs/omap3_cairo.h              |  1 -
 include/configs/omap3_logic.h              |  1 -
 include/configs/omap3_overo.h              |  1 -
 include/configs/omap3_zoom1.h              |  1 -
 include/configs/pengwyn.h                  |  1 -
 include/configs/twister.h                  |  2 --
 scripts/config_whitelist.txt               |  1 -
 73 files changed, 64 insertions(+), 20 deletions(-)
cmd/Kconfig +10 -0
index 0cc5d56d7f..c5c9b8c5e5 100644
@@ -279,6 +279,16 @@ config CMD_SPL
 	  doc/README.falcon for full information about how to use this
 	  command.
 
+config CMD_SPL_NAND_OFS
+	hex "Offset of OS command line args for Falcon-mode NAND boot"
+	depends on CMD_SPL
+	default 0
+	help
+	  This provides the offset of the command line arguments for Linux
+	  when booting from NAND in Falcon mode.  See doc/README.falcon
+	  for full information about how to use this option (and also see
+	  board/gateworks/gw_ventana/README for an example).
+
 endmenu
 
 menu "Environment commands"
configs/am335x_boneblack_defconfig +1 -0
index 195b24f7f7..a251a0defc 100644
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DFU_TFTP=y
configs/am335x_boneblack_vboot_defconfig +1 -0
index e7890fc8b5..a964169d3c 100644
@@ -26,6 +26,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
configs/am335x_evm_defconfig +1 -0
index 2e5bb103a5..83716dfc3b 100644
@@ -21,6 +21,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_evm_nor_defconfig +1 -0
index c70cd6d247..36ad9d1c0c 100644
@@ -20,6 +20,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
configs/am335x_evm_usbspl_defconfig +1 -0
index 49f732b81e..63aa238a56 100644
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_igep003x_defconfig +1 -0
index cef7c315cf..4b9b67b059 100644
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/am335x_shc_defconfig +1 -0
index 4bd1b65880..14329b0913 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_ict_defconfig +1 -0
index 1025cd1d5c..88de993bc0 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_netboot_defconfig +1 -0
index 0011234d55..26d3bc99a9 100644
@@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_prompt_defconfig +1 -0
index a6c617f87e..58593b2a51 100644
@@ -26,6 +26,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_sdboot_defconfig +1 -0
index fa231543a2..c2a50d4ed6 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_sdboot_prompt_defconfig +1 -0
index fa231543a2..c2a50d4ed6 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_sl50_defconfig +1 -0
index 10e1d1c870..e61cf7c11e 100644
@@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_defconfig +1 -0
index 5d707b92e3..602338a45d 100644
@@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index 19d596278d..320aa451bf 100644
@@ -15,6 +15,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index fd6ff5f285..db71fc6057 100644
@@ -19,6 +19,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am57xx_evm_defconfig +1 -0
index 4b1ceb820b..6dbc2ca28c 100644
@@ -32,6 +32,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
configs/am57xx_evm_nodt_defconfig +1 -0
index d8cbcda21a..206ac27a21 100644
@@ -24,6 +24,7 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/birdland_bav335a_defconfig +1 -0
index 18e0100a7b..0db9909337 100644
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/birdland_bav335b_defconfig +1 -0
index a143142ae7..641c359e94 100644
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/cairo_defconfig +1 -0
index a1506ff339..35578500f9 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/devkit8000_defconfig +1 -0
index 17cdab7428..84f1ba381b 100644
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x680000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/dra7xx_evm_defconfig +1 -0
index 4634e8e7af..166986d7f9 100644
@@ -31,6 +31,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_ISO_PARTITION=y
configs/gwventana_emmc_defconfig +1 -0
index 0549fc71f8..4bbe4ac049 100644
@@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/gwventana_gw5904_defconfig +1 -0
index cd161f3a03..16120d163f 100644
@@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/gwventana_nand_defconfig +1 -0
index 5ba5f173b3..87c56c7bd5 100644
@@ -32,6 +32,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/igep0020_defconfig +1 -0
index bcd4f22b79..c8fbcd2765 100644
@@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0030_defconfig +1 -0
index 30ab21079e..59222534b0 100644
@@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0032_defconfig +1 -0
index 493bf41713..c511bc3f4f 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/ipam390_defconfig +1 -0
index 68bbe8667d..83009be0a8 100644
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00180000
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
configs/microblaze-generic_defconfig +1 -0
index 45aaf3bbd5..0bf052f3fc 100644
@@ -22,6 +22,7 @@ CONFIG_SYS_OS_BASE=0x2c060000
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
configs/mx6sabresd_defconfig +1 -0
index 7bd6da1654..f16e0756f3 100644
@@ -22,6 +22,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/omap3_beagle_defconfig +1 -0
index aebacd2918..03db663f5d 100644
@@ -10,6 +10,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap3_logic_defconfig +1 -0
index 022a7c15c8..5e95b46367 100644
@@ -18,6 +18,7 @@ CONFIG_SYS_PROMPT="OMAP Logic # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 # CONFIG_CMD_EEPROM is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_USB is not set
configs/omap3_overo_defconfig +1 -0
index a5e2f25873..6b546dd419 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap4_panda_defconfig +1 -0
index 44eaed8590..fec6b301f9 100644
@@ -13,6 +13,7 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap5_uevm_defconfig +1 -0
index 81edba49b3..338324d1f9 100644
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/pcm051_rev1_defconfig +1 -0
index 8faaad9b6f..d405b27d43 100644
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pcm051_rev3_defconfig +1 -0
index b2126f0f56..1513cb6f2d 100644
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pengwyn_defconfig +1 -0
index 0a3553f60f..41bf2563c0 100644
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/topic_miami_defconfig +1 -0
index 8df2fb13ce..88c2614b2f 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/topic_miamilite_defconfig +1 -0
index cddc084a05..8eff0ec200 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/topic_miamiplus_defconfig +1 -0
index 1016718797..b8c41d4355 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/twister_defconfig +1 -0
index 4d3157a28b..226990aebd 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00800000
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_microzed_defconfig +1 -0
index 2d7fffc1f4..f9221427e2 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_picozed_defconfig +1 -0
index 7ca69a973c..0419ed5b89 100644
@@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/zynq_zc702_defconfig +1 -0
index 8f20b09244..ea1e0777c2 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_zc706_defconfig +1 -0
index 825346abd6..29f2ce6fc6 100644
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_zc770_xm010_defconfig +1 -0
index a1ef49f250..12e3742e9c 100644
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_zc770_xm011_defconfig +1 -0
index 148f70360b..bc676e7476 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
 CONFIG_CMD_FPGA_LOADBP=y
configs/zynq_zc770_xm012_defconfig +1 -0
index 943efdb141..3e53373d04 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_FPGA_LOADBP=y
 CONFIG_CMD_FPGA_LOADFS=y
 CONFIG_CMD_FPGA_LOADMK=y
configs/zynq_zc770_xm013_defconfig +1 -0
index 5c029109e2..5f0f656c1a 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_FPGA_LOADBP=y
 CONFIG_CMD_FPGA_LOADFS=y
configs/zynq_zed_defconfig +1 -0
index 2887ca4167..de61ed406b 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_zybo_defconfig +1 -0
index f3f89cb5e4..2bc2f155f3 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
include/configs/am335x_evm.h +0 -1
index b97f525994..3f2aa80693 100644
@@ -239,7 +239,6 @@
 #define CONFIG_SPL_NAND_AM33XX_BCH
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS	0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/am43xx_evm.h +0 -1
index 1d8e39c203..ff2c91da5c 100644
@@ -322,7 +322,6 @@
 #endif
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x00100000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00300000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	CONFIG_SYS_NAND_BLOCK_SIZE
 #endif
include/configs/baltos.h +0 -1
index b58030663d..cf6d10cb72 100644
@@ -48,7 +48,6 @@
 #ifdef CONFIG_NAND
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x00080000
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS 0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/bav335x.h +0 -1
index 71b1b96ec4..5eadb70412 100644
@@ -399,7 +399,6 @@ DEFAULT_LINUX_BOOT_ENV \
 #define CONFIG_SPL_NAND_AM33XX_BCH
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS	0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/brppt1.h +0 -1
index e35ea0ea4a..813a3882a7 100644
@@ -66,7 +66,6 @@
 
 /* NAND */
 #ifdef CONFIG_NAND
-#define CONFIG_CMD_SPL_NAND_OFS			0x080000 /* end of u-boot */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS		0x140000
 #define CONFIG_CMD_SPL_WRITE_SIZE		0x2000
 #endif /* CONFIG_NAND */
include/configs/cm_t335.h +0 -1
index 220268ade0..a6cc6f16a1 100644
@@ -141,7 +141,6 @@
 #define CONFIG_SYS_ENV_SECT_SIZE	(128 << 10)	/* 128 KiB */
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x400000 /* un-assigned: (using dtb) */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x500000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/devkit8000.h +0 -2
index 92ce1273c6..d71912e8db 100644
@@ -216,8 +216,6 @@
 
 /* SPL OS boot options */
 #define CONFIG_CMD_SPL_WRITE_SIZE       0x400 /* 1024 byte */
-#define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
-					0x400000)
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000
 
 #undef CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
include/configs/dra7xx_evm.h +0 -1
index d2f7c7cfff..8cee33d419 100644
@@ -214,7 +214,6 @@
 #endif
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x00080000 /* os-boot params*/
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/gw_ventana.h +0 -1
index 321a487cb9..8529159f2b 100644
@@ -16,7 +16,6 @@
 #define CONFIG_CMD_SPL_WRITE_SIZE	(128 * SZ_1K)
 
 /* Falcon Mode - NAND support: args at 17MB kernel at 18MB */
-#define CONFIG_CMD_SPL_NAND_OFS		(17 * SZ_1M)
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	(18 * SZ_1M)
 
 /* Falcon Mode - MMC support: args at 1MB kernel@2MB */
include/configs/ipam390.h +0 -1
index 2999ac36e7..23d66cecc5 100644
@@ -287,7 +287,6 @@
 /* add FALCON boot mode */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR	LINUX_BOOT_PARAM_ADDR
-#define CONFIG_CMD_SPL_NAND_OFS		0x00180000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x400
 
 /* GPIO support */
include/configs/omap3_beagle.h +0 -1
index 0d48d4ecc1..7432305431 100644
@@ -280,7 +280,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/omap3_cairo.h +0 -1
index b5d2b007e8..981e90ee76 100644
@@ -204,7 +204,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/omap3_logic.h +0 -1
index 2c926d0787..d265280ccf 100644
@@ -274,7 +274,6 @@
 
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/omap3_overo.h +0 -1
index 111aec58d3..7be5150784 100644
@@ -225,7 +225,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/omap3_zoom1.h +0 -1
index 6c869c4c07..b05e096ea5 100644
@@ -57,7 +57,6 @@
 #if defined(CONFIG_CMD_NAND)
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/pengwyn.h +0 -1
index 482045d99f..f7f50f1e36 100644
@@ -165,7 +165,6 @@
 #define CONFIG_SYS_ENV_SECT_SIZE	(128 << 10)	/* 128 KiB */
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000 /* un-assigned */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
include/configs/twister.h +0 -2
index c45ae87a41..80d480b103 100644
@@ -38,8 +38,6 @@
 /* SPL OS boot options */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
-#define CONFIG_CMD_SPL_NAND_OFS	(CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
-						0x600000)
 
 #define CONFIG_SYS_SPL_ARGS_ADDR	(PHYS_SDRAM_1 + 0x100)
 
scripts/config_whitelist.txt +0 -1
index 44d38f8ca1..e463e53f17 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#55 lore raw

PATCH 25/41 Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig

Quoted 107 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SPL_NAND_OFS

---

 cmd/Kconfig                                | 10 ++++++++++
 configs/am335x_boneblack_defconfig         |  1 +
 configs/am335x_boneblack_vboot_defconfig   |  1 +
 configs/am335x_evm_defconfig               |  1 +
 configs/am335x_evm_nor_defconfig           |  1 +
 configs/am335x_evm_usbspl_defconfig        |  1 +
 configs/am335x_igep003x_defconfig          |  1 +
 configs/am335x_shc_defconfig               |  1 +
 configs/am335x_shc_ict_defconfig           |  1 +
 configs/am335x_shc_netboot_defconfig       |  1 +
 configs/am335x_shc_prompt_defconfig        |  1 +
 configs/am335x_shc_sdboot_defconfig        |  1 +
 configs/am335x_shc_sdboot_prompt_defconfig |  1 +
 configs/am335x_sl50_defconfig              |  1 +
 configs/am43xx_evm_defconfig               |  1 +
 configs/am43xx_evm_ethboot_defconfig       |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig  |  1 +
 configs/am57xx_evm_defconfig               |  1 +
 configs/am57xx_evm_nodt_defconfig          |  1 +
 configs/birdland_bav335a_defconfig         |  1 +
 configs/birdland_bav335b_defconfig         |  1 +
 configs/cairo_defconfig                    |  1 +
 configs/devkit8000_defconfig               |  1 +
 configs/dra7xx_evm_defconfig               |  1 +
 configs/gwventana_emmc_defconfig           |  1 +
 configs/gwventana_gw5904_defconfig         |  1 +
 configs/gwventana_nand_defconfig           |  1 +
 configs/igep0020_defconfig                 |  1 +
 configs/igep0030_defconfig                 |  1 +
 configs/igep0032_defconfig                 |  1 +
 configs/ipam390_defconfig                  |  1 +
 configs/microblaze-generic_defconfig       |  1 +
 configs/mx6sabresd_defconfig               |  1 +
 configs/omap3_beagle_defconfig             |  1 +
 configs/omap3_logic_defconfig              |  1 +
 configs/omap3_overo_defconfig              |  1 +
 configs/omap4_panda_defconfig              |  1 +
 configs/omap5_uevm_defconfig               |  1 +
 configs/pcm051_rev1_defconfig              |  1 +
 configs/pcm051_rev3_defconfig              |  1 +
 configs/pengwyn_defconfig                  |  1 +
 configs/topic_miami_defconfig              |  1 +
 configs/topic_miamilite_defconfig          |  1 +
 configs/topic_miamiplus_defconfig          |  1 +
 configs/twister_defconfig                  |  1 +
 configs/zynq_microzed_defconfig            |  1 +
 configs/zynq_picozed_defconfig             |  1 +
 configs/zynq_zc702_defconfig               |  1 +
 configs/zynq_zc706_defconfig               |  1 +
 configs/zynq_zc770_xm010_defconfig         |  1 +
 configs/zynq_zc770_xm011_defconfig         |  1 +
 configs/zynq_zc770_xm012_defconfig         |  1 +
 configs/zynq_zc770_xm013_defconfig         |  1 +
 configs/zynq_zed_defconfig                 |  1 +
 configs/zynq_zybo_defconfig                |  1 +
 include/configs/am335x_evm.h               |  1 -
 include/configs/am43xx_evm.h               |  1 -
 include/configs/baltos.h                   |  1 -
 include/configs/bav335x.h                  |  1 -
 include/configs/brppt1.h                   |  1 -
 include/configs/cm_t335.h                  |  1 -
 include/configs/devkit8000.h               |  2 --
 include/configs/dra7xx_evm.h               |  1 -
 include/configs/gw_ventana.h               |  1 -
 include/configs/ipam390.h                  |  1 -
 include/configs/omap3_beagle.h             |  1 -
 include/configs/omap3_cairo.h              |  1 -
 include/configs/omap3_logic.h              |  1 -
 include/configs/omap3_overo.h              |  1 -
 include/configs/omap3_zoom1.h              |  1 -
 include/configs/pengwyn.h                  |  1 -
 include/configs/twister.h                  |  2 --
 scripts/config_whitelist.txt               |  1 -
 73 files changed, 64 insertions(+), 20 deletions(-)
cmd/Kconfig +10 -0
index 0cc5d56d7f..c5c9b8c5e5 100644
@@ -279,6 +279,16 @@ config CMD_SPL
          doc/README.falcon for full information about how to use this
          command.
 
+config CMD_SPL_NAND_OFS
+       hex "Offset of OS command line args for Falcon-mode NAND boot"
+       depends on CMD_SPL
+       default 0
+       help
+         This provides the offset of the command line arguments for Linux
+         when booting from NAND in Falcon mode.  See doc/README.falcon
+         for full information about how to use this option (and also see
+         board/gateworks/gw_ventana/README for an example).
+
 endmenu
 
 menu "Environment commands"
configs/am335x_boneblack_defconfig +0 -0
index 195b24f7f7..a251a0defc 100644

configs/am335x_boneblack_defconfig CONFIG_FASTBOOT_BUF_ADDR=0x81000000 · line 26

Quoted 4 lines
configs/am335x_boneblack_defconfig +1 -0
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

This line is not needed as its default value is 0.

configs/am335x_boneblack_vboot_defconfig CONFIG_FASTBOOT_BUF_ADDR=0x81000000 · line 29

Quoted 12 lines
configs/am335x_boneblack_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DFU_TFTP=y
configs/am335x_boneblack_vboot_defconfig +1 -0
index e7890fc8b5..a964169d3c 100644
@@ -26,6 +26,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 44 lines
configs/am335x_boneblack_vboot_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
configs/am335x_evm_defconfig +1 -0
index 2e5bb103a5..83716dfc3b 100644
@@ -21,6 +21,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_evm_nor_defconfig +1 -0
index c70cd6d247..36ad9d1c0c 100644
@@ -20,6 +20,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
configs/am335x_evm_usbspl_defconfig +1 -0
index 49f732b81e..63aa238a56 100644
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am335x_igep003x_defconfig +0 -0
index cef7c315cf..4b9b67b059 100644

configs/am335x_igep003x_defconfig CONFIG_HUSH_PARSER=y · line 32

Quoted 4 lines
configs/am335x_igep003x_defconfig +1 -0
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am335x_shc_defconfig CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau · line 31

Quoted 12 lines
configs/am335x_igep003x_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/am335x_shc_defconfig +1 -0
index 4bd1b65880..14329b0913 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am335x_shc_ict_defconfig CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau · line 31

Quoted 12 lines
configs/am335x_shc_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_ict_defconfig +1 -0
index 1025cd1d5c..88de993bc0 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am335x_shc_netboot_defconfig CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau · line 32

Quoted 12 lines
configs/am335x_shc_ict_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_netboot_defconfig +1 -0
index 0011234d55..26d3bc99a9 100644
@@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am335x_shc_prompt_defconfig CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau · line 29

Quoted 12 lines
configs/am335x_shc_netboot_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_prompt_defconfig +1 -0
index a6c617f87e..58593b2a51 100644
@@ -26,6 +26,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am335x_shc_sdboot_defconfig CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau · line 31

Quoted 12 lines
configs/am335x_shc_prompt_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_sdboot_defconfig +1 -0
index fa231543a2..c2a50d4ed6 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am335x_shc_sdboot_prompt_defconfig CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau · line 31

Quoted 12 lines
configs/am335x_shc_sdboot_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_shc_sdboot_prompt_defconfig +1 -0
index fa231543a2..c2a50d4ed6 100644
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am335x_sl50_defconfig CONFIG_AUTOBOOT_DELAY_STR="d" · line 32

Quoted 12 lines
configs/am335x_shc_sdboot_prompt_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_sl50_defconfig +1 -0
index 10e1d1c870..e61cf7c11e 100644
@@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 44 lines
configs/am335x_sl50_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_defconfig +1 -0
index 5d707b92e3..602338a45d 100644
@@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index 19d596278d..320aa451bf 100644
@@ -15,6 +15,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index fd6ff5f285..db71fc6057 100644
@@ -19,6 +19,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am57xx_evm_defconfig +0 -0
index 4b1ceb820b..6dbc2ca28c 100644

configs/am57xx_evm_defconfig CONFIG_FASTBOOT_FLASH=y · line 35

Quoted 4 lines
configs/am57xx_evm_defconfig +1 -0
@@ -32,6 +32,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/am57xx_evm_nodt_defconfig CONFIG_FASTBOOT_FLASH_MMC_DEV=1 · line 27

Quoted 12 lines
configs/am57xx_evm_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
configs/am57xx_evm_nodt_defconfig +1 -0
index d8cbcda21a..206ac27a21 100644
@@ -24,6 +24,7 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/birdland_bav335a_defconfig CONFIG_HUSH_PARSER=y · line 29

Quoted 12 lines
configs/am57xx_evm_nodt_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/birdland_bav335a_defconfig +1 -0
index 18e0100a7b..0db9909337 100644
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/birdland_bav335b_defconfig CONFIG_HUSH_PARSER=y · line 29

Quoted 12 lines
configs/birdland_bav335a_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/birdland_bav335b_defconfig +1 -0
index a143142ae7..641c359e94 100644
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 80 lines
configs/birdland_bav335b_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/cairo_defconfig +1 -0
index a1506ff339..35578500f9 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/devkit8000_defconfig +1 -0
index 17cdab7428..84f1ba381b 100644
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x680000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/dra7xx_evm_defconfig +1 -0
index 4634e8e7af..166986d7f9 100644
@@ -31,6 +31,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_ISO_PARTITION=y
configs/gwventana_emmc_defconfig +1 -0
index 0549fc71f8..4bbe4ac049 100644
@@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/gwventana_gw5904_defconfig +1 -0
index cd161f3a03..16120d163f 100644
@@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/gwventana_nand_defconfig +1 -0
index 5ba5f173b3..87c56c7bd5 100644
@@ -32,6 +32,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/igep0020_defconfig +0 -0
index bcd4f22b79..c8fbcd2765 100644

configs/igep0020_defconfig CONFIG_SPL_ONENAND_SUPPORT=y · line 19

Quoted 4 lines
configs/igep0020_defconfig +1 -0
@@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/igep0030_defconfig CONFIG_SPL_ONENAND_SUPPORT=y · line 19

Quoted 12 lines
configs/igep0020_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0030_defconfig +1 -0
index 30ab21079e..59222534b0 100644
@@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/igep0032_defconfig CONFIG_SPL_ONENAND_SUPPORT=y · line 18

Quoted 12 lines
configs/igep0030_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/igep0032_defconfig +1 -0
index 493bf41713..c511bc3f4f 100644
@@ -15,6 +15,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 20 lines
configs/igep0032_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/ipam390_defconfig +1 -0
index 68bbe8667d..83009be0a8 100644
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00180000
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
configs/microblaze-generic_defconfig +0 -0
index 45aaf3bbd5..0bf052f3fc 100644

configs/microblaze-generic_defconfig CONFIG_SYS_OS_BASE=0x2c060000 · line 25

Quoted 4 lines
configs/microblaze-generic_defconfig +1 -0
@@ -22,6 +22,7 @@ CONFIG_SYS_OS_BASE=0x2c060000
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/mx6sabresd_defconfig CONFIG_HUSH_PARSER=y · line 25

Quoted 12 lines
configs/microblaze-generic_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
configs/mx6sabresd_defconfig +1 -0
index 7bd6da1654..f16e0756f3 100644
@@ -22,6 +22,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 44 lines
configs/mx6sabresd_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/omap3_beagle_defconfig +1 -0
index aebacd2918..03db663f5d 100644
@@ -10,6 +10,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap3_logic_defconfig +1 -0
index 022a7c15c8..5e95b46367 100644
@@ -18,6 +18,7 @@ CONFIG_SYS_PROMPT="OMAP Logic # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 # CONFIG_CMD_EEPROM is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_USB is not set
configs/omap3_overo_defconfig +1 -0
index a5e2f25873..6b546dd419 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap4_panda_defconfig +0 -0
index 44eaed8590..fec6b301f9 100644

configs/omap4_panda_defconfig CONFIG_SPL=y · line 16

Quoted 4 lines
configs/omap4_panda_defconfig +1 -0
@@ -13,6 +13,7 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/omap5_uevm_defconfig CONFIG_HUSH_PARSER=y · line 16

Quoted 12 lines
configs/omap4_panda_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/omap5_uevm_defconfig +1 -0
index 81edba49b3..338324d1f9 100644
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/pcm051_rev1_defconfig CONFIG_HUSH_PARSER=y · line 31

Quoted 12 lines
configs/omap5_uevm_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
configs/pcm051_rev1_defconfig +1 -0
index 8faaad9b6f..d405b27d43 100644
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/pcm051_rev3_defconfig CONFIG_HUSH_PARSER=y · line 31

Quoted 12 lines
configs/pcm051_rev1_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pcm051_rev3_defconfig +1 -0
index b2126f0f56..1513cb6f2d 100644
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 20 lines
configs/pcm051_rev3_defconfig +0 -0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/pengwyn_defconfig +1 -0
index 0a3553f60f..41bf2563c0 100644
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/topic_miami_defconfig +0 -0
index 8df2fb13ce..88c2614b2f 100644

configs/topic_miami_defconfig CONFIG_SPL=y · line 15

Quoted 4 lines
configs/topic_miami_defconfig +1 -0
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/topic_miamilite_defconfig CONFIG_SPL=y · line 15

Quoted 12 lines
configs/topic_miami_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/topic_miamilite_defconfig +1 -0
index cddc084a05..8eff0ec200 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/topic_miamiplus_defconfig CONFIG_SPL=y · line 15

Quoted 12 lines
configs/topic_miamilite_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/topic_miamiplus_defconfig +1 -0
index 1016718797..b8c41d4355 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 20 lines
configs/topic_miamiplus_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/twister_defconfig +1 -0
index 4d3157a28b..226990aebd 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00800000
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_microzed_defconfig +0 -0
index 2d7fffc1f4..f9221427e2 100644

configs/zynq_microzed_defconfig CONFIG_SPL_OS_BOOT=y · line 14

Quoted 4 lines
configs/zynq_microzed_defconfig +1 -0
@@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_picozed_defconfig CONFIG_SPL_OS_BOOT=y · line 11

Quoted 12 lines
configs/zynq_microzed_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_picozed_defconfig +1 -0
index 7ca69a973c..0419ed5b89 100644
@@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zc702_defconfig CONFIG_SPL_OS_BOOT=y · line 16

Quoted 12 lines
configs/zynq_picozed_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/zynq_zc702_defconfig +1 -0
index 8f20b09244..ea1e0777c2 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zc706_defconfig CONFIG_SPL_OS_BOOT=y · line 15

Quoted 12 lines
configs/zynq_zc702_defconfig +0 -0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_zc706_defconfig +1 -0
index 825346abd6..29f2ce6fc6 100644
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zc770_xm010_defconfig CONFIG_SPL_OS_BOOT=y · line 15

Quoted 12 lines
configs/zynq_zc706_defconfig +0 -0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_zc770_xm010_defconfig +1 -0
index a1ef49f250..12e3742e9c 100644
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zc770_xm011_defconfig CONFIG_SPL_OS_BOOT=y · line 16

Quoted 12 lines
configs/zynq_zc770_xm010_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_zc770_xm011_defconfig +1 -0
index 148f70360b..bc676e7476 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zc770_xm012_defconfig CONFIG_SPL=y · line 15

Quoted 12 lines
configs/zynq_zc770_xm011_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
 CONFIG_CMD_FPGA_LOADBP=y
configs/zynq_zc770_xm012_defconfig +1 -0
index 943efdb141..3e53373d04 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zc770_xm013_defconfig CONFIG_SPL_OS_BOOT=y · line 16

Quoted 12 lines
configs/zynq_zc770_xm012_defconfig +0 -0
 CONFIG_CMD_FPGA_LOADBP=y
 CONFIG_CMD_FPGA_LOADFS=y
 CONFIG_CMD_FPGA_LOADMK=y
configs/zynq_zc770_xm013_defconfig +1 -0
index 5c029109e2..5f0f656c1a 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zed_defconfig CONFIG_SPL_OS_BOOT=y · line 14

Quoted 12 lines
configs/zynq_zc770_xm013_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_FPGA_LOADBP=y
 CONFIG_CMD_FPGA_LOADFS=y
configs/zynq_zed_defconfig +1 -0
index 2887ca4167..de61ed406b 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

configs/zynq_zybo_defconfig CONFIG_SPL_OS_BOOT=y · line 16

Quoted 12 lines
configs/zynq_zed_defconfig +0 -0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_zybo_defconfig +1 -0
index f3f89cb5e4..2bc2f155f3 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

Quoted 214 lines
configs/zynq_zybo_defconfig +0 -0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
include/configs/am335x_evm.h +0 -1
index b97f525994..3f2aa80693 100644
@@ -239,7 +239,6 @@
 #define CONFIG_SPL_NAND_AM33XX_BCH
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS        0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/am43xx_evm.h +0 -1
index 1d8e39c203..ff2c91da5c 100644
@@ -322,7 +322,6 @@
 #endif
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x00100000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00300000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE      CONFIG_SYS_NAND_BLOCK_SIZE
 #endif
include/configs/baltos.h +0 -1
index b58030663d..cf6d10cb72 100644
@@ -48,7 +48,6 @@
 #ifdef CONFIG_NAND
 #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x00080000
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS 0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/bav335x.h +0 -1
index 71b1b96ec4..5eadb70412 100644
@@ -399,7 +399,6 @@ DEFAULT_LINUX_BOOT_ENV \
 #define CONFIG_SPL_NAND_AM33XX_BCH
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS        0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/brppt1.h +0 -1
index e35ea0ea4a..813a3882a7 100644
@@ -66,7 +66,6 @@
 
 /* NAND */
 #ifdef CONFIG_NAND
-#define CONFIG_CMD_SPL_NAND_OFS                        0x080000 /* end of u-boot */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS                0x140000
 #define CONFIG_CMD_SPL_WRITE_SIZE              0x2000
 #endif /* CONFIG_NAND */
include/configs/cm_t335.h +0 -1
index 220268ade0..a6cc6f16a1 100644
@@ -141,7 +141,6 @@
 #define CONFIG_SYS_ENV_SECT_SIZE       (128 << 10)     /* 128 KiB */
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x400000 /* un-assigned: (using dtb) */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x500000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/devkit8000.h +0 -2
index 92ce1273c6..d71912e8db 100644
@@ -216,8 +216,6 @@
 
 /* SPL OS boot options */
 #define CONFIG_CMD_SPL_WRITE_SIZE       0x400 /* 1024 byte */
-#define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
-                                       0x400000)
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000
 
 #undef CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
include/configs/dra7xx_evm.h +0 -1
index d2f7c7cfff..8cee33d419 100644
@@ -214,7 +214,6 @@
 #endif
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x00080000 /* os-boot params*/
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/gw_ventana.h +0 -1
index 321a487cb9..8529159f2b 100644
@@ -16,7 +16,6 @@
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
 /* Falcon Mode - NAND support: args at 17MB kernel at 18MB */
-#define CONFIG_CMD_SPL_NAND_OFS                (17 * SZ_1M)
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        (18 * SZ_1M)
 
 /* Falcon Mode - MMC support: args at 1MB kernel at 2MB */
include/configs/ipam390.h +0 -1
index 2999ac36e7..23d66cecc5 100644
@@ -287,7 +287,6 @@
 /* add FALCON boot mode */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR       LINUX_BOOT_PARAM_ADDR
-#define CONFIG_CMD_SPL_NAND_OFS                0x00180000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x400
 
 /* GPIO support */
include/configs/omap3_beagle.h +0 -1
index 0d48d4ecc1..7432305431 100644
@@ -280,7 +280,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/omap3_cairo.h +0 -1
index b5d2b007e8..981e90ee76 100644
@@ -204,7 +204,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/omap3_logic.h +0 -1
index 2c926d0787..d265280ccf 100644
@@ -274,7 +274,6 @@
 
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/omap3_overo.h +0 -1
index 111aec58d3..7be5150784 100644
@@ -225,7 +225,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/omap3_zoom1.h +0 -1
index 6c869c4c07..b05e096ea5 100644
@@ -57,7 +57,6 @@
 #if defined(CONFIG_CMD_NAND)
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/pengwyn.h +0 -1
index 482045d99f..f7f50f1e36 100644
@@ -165,7 +165,6 @@
 #define CONFIG_SYS_ENV_SECT_SIZE       (128 << 10)     /* 128 KiB */
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS                0x240000 /* un-assigned */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
 #endif
include/configs/twister.h +0 -2
index c45ae87a41..80d480b103 100644
@@ -38,8 +38,6 @@
 /* SPL OS boot options */
 #define CONFIG_CMD_SPL_WRITE_SIZE      0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
-#define CONFIG_CMD_SPL_NAND_OFS        (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
-                                               0x600000)
 
 #define CONFIG_SYS_SPL_ARGS_ADDR       (PHYS_SDRAM_1 + 0x100)
 
scripts/config_whitelist.txt +0 -0
index 44d38f8ca1..e463e53f17 100644

scripts/config_whitelist.txt CONFIG_CM922T_XA10

Quoted 8 lines
scripts/config_whitelist.txt +0 -2
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
--

Regards,
Bin

#56 lore raw

PATCH 26/41 Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SPL_WRITE_SIZE

---

 cmd/Kconfig                               | 9 +++++++++
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/devkit8000_defconfig              | 1 +
 configs/gwventana_emmc_defconfig          | 1 +
 configs/gwventana_gw5904_defconfig        | 1 +
 configs/gwventana_nand_defconfig          | 1 +
 configs/ipam390_defconfig                 | 1 +
 configs/mx6sabresd_defconfig              | 1 +
 configs/twister_defconfig                 | 1 +
 include/configs/am335x_evm.h              | 1 -
 include/configs/am43xx_evm.h              | 1 -
 include/configs/baltos.h                  | 1 -
 include/configs/bav335x.h                 | 1 -
 include/configs/brppt1.h                  | 1 -
 include/configs/cm_t335.h                 | 1 -
 include/configs/devkit8000.h              | 1 -
 include/configs/dra7xx_evm.h              | 1 -
 include/configs/gw_ventana.h              | 1 -
 include/configs/ipam390.h                 | 1 -
 include/configs/mx6sabreauto.h            | 1 -
 include/configs/mx6sabresd.h              | 1 -
 include/configs/omap3_beagle.h            | 1 -
 include/configs/omap3_cairo.h             | 1 -
 include/configs/omap3_logic.h             | 1 -
 include/configs/omap3_overo.h             | 1 -
 include/configs/omap3_zoom1.h             | 1 -
 include/configs/pengwyn.h                 | 1 -
 include/configs/twister.h                 | 1 -
 scripts/config_whitelist.txt              | 1 -
 31 files changed, 19 insertions(+), 20 deletions(-)
cmd/Kconfig +9 -0
index c5c9b8c5e5..c3a2d1efbc 100644
@@ -289,6 +289,15 @@ config CMD_SPL_NAND_OFS
 	  for full information about how to use this option (and also see
 	  board/gateworks/gw_ventana/README for an example).
 
+config CMD_SPL_WRITE_SIZE
+	hex "Size of argument area"
+	depends on CMD_SPL
+	default 0x2000
+	help
+	  This provides the size of the command-line argument area in NAND
+	  flash used by Falcon-mode boot. See the documentation until CMD_SPL
+	  for detail.
+
 endmenu
 
 menu "Environment commands"
configs/am43xx_evm_defconfig +1 -0
index 602338a45d..1285fa0514 100644
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x40000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index 320aa451bf..7e2f662d9e 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x40000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index db71fc6057..fed2b2ba17 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x40000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/devkit8000_defconfig +1 -0
index 84f1ba381b..f3099d124f 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x680000
+CONFIG_CMD_SPL_WRITE_SIZE=0x400
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/gwventana_emmc_defconfig +1 -0
index 4bbe4ac049..2164a201f3 100644
@@ -32,6 +32,7 @@ CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x1100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/gwventana_gw5904_defconfig +1 -0
index 16120d163f..1394ec73f1 100644
@@ -32,6 +32,7 @@ CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x1100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/gwventana_nand_defconfig +1 -0
index 87c56c7bd5..10ad5f2c5a 100644
@@ -33,6 +33,7 @@ CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x1100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/ipam390_defconfig +1 -0
index 83009be0a8..724b420047 100644
@@ -18,6 +18,7 @@ CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00180000
+CONFIG_CMD_SPL_WRITE_SIZE=0x400
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
configs/mx6sabresd_defconfig +1 -0
index f16e0756f3..76fdc16892 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/twister_defconfig +1 -0
index 226990aebd..5244958aa4 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00800000
+CONFIG_CMD_SPL_WRITE_SIZE=0x400
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
include/configs/am335x_evm.h +0 -1
index 3f2aa80693..5e5c334cb4 100644
@@ -240,7 +240,6 @@
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #endif /* !CONFIG_NAND */
 
include/configs/am43xx_evm.h +0 -1
index ff2c91da5c..77d6fc2544 100644
@@ -323,7 +323,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00300000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	CONFIG_SYS_NAND_BLOCK_SIZE
 #endif
 #define NANDARGS \
 	"mtdids=" MTDIDS_DEFAULT "\0" \
include/configs/baltos.h +0 -1
index cf6d10cb72..b767a1af39 100644
@@ -49,7 +49,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x00080000
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #define NANDARGS \
 	"mtdids=" MTDIDS_DEFAULT "\0" \
include/configs/bav335x.h +0 -1
index 5eadb70412..e84ce4b4f3 100644
@@ -400,7 +400,6 @@ DEFAULT_LINUX_BOOT_ENV \
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #endif /* !CONFIG_NAND */
 
include/configs/brppt1.h +0 -1
index 813a3882a7..1e2bb11228 100644
@@ -67,7 +67,6 @@
 /* NAND */
 #ifdef CONFIG_NAND
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS		0x140000
-#define CONFIG_CMD_SPL_WRITE_SIZE		0x2000
 #endif /* CONFIG_NAND */
 #endif /* CONFIG_SPL_OS_BOOT */
 
include/configs/cm_t335.h +0 -1
index a6cc6f16a1..f1880a4022 100644
@@ -142,7 +142,6 @@
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x500000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 /* GPIO pin + bank to pin ID mapping */
include/configs/devkit8000.h +0 -1
index d71912e8db..3df4c951b2 100644
@@ -215,7 +215,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_SIZE	0x200000
 
 /* SPL OS boot options */
-#define CONFIG_CMD_SPL_WRITE_SIZE       0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000
 
 #undef CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
include/configs/dra7xx_evm.h +0 -1
index 8cee33d419..436d7e370b 100644
@@ -215,7 +215,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #endif /* !CONFIG_NAND */
 
include/configs/gw_ventana.h +0 -1
index 8529159f2b..0389c8c6f6 100644
@@ -13,7 +13,6 @@
 
 /* Falcon Mode */
 #define CONFIG_SYS_SPL_ARGS_ADDR	0x18000000
-#define CONFIG_CMD_SPL_WRITE_SIZE	(128 * SZ_1K)
 
 /* Falcon Mode - NAND support: args at 17MB kernel at 18MB */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	(18 * SZ_1M)
include/configs/ipam390.h +0 -1
index 23d66cecc5..d976a70b73 100644
@@ -287,7 +287,6 @@
 /* add FALCON boot mode */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR	LINUX_BOOT_PARAM_ADDR
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x400
 
 /* GPIO support */
 #define CONFIG_DA8XX_GPIO
include/configs/mx6sabreauto.h +0 -1
index f561bfd2a3..78d9330468 100644
@@ -35,7 +35,6 @@
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
-#define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
 /* Falcon Mode - MMC support: args at 1MB kernel at 2MB */
 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR  0x800   /* 1MB */
include/configs/mx6sabresd.h +0 -1
index 9622394c8f..5410881fa1 100644
@@ -25,7 +25,6 @@
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
-#define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
 /* Falcon Mode - MMC support: args at 1MB kernel at 2MB */
 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR  0x800   /* 1MB */
include/configs/omap3_beagle.h +0 -1
index 7432305431..a48f45e819 100644
@@ -281,7 +281,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 #endif /* __CONFIG_H */
include/configs/omap3_cairo.h +0 -1
index 981e90ee76..0e407ef8ea 100644
@@ -205,7 +205,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 /* env defaults */
include/configs/omap3_logic.h +0 -1
index d265280ccf..ec61cea8b5 100644
@@ -275,7 +275,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 #endif /* __CONFIG_H */
include/configs/omap3_overo.h +0 -1
index 7be5150784..cc03a84412 100644
@@ -226,7 +226,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 #endif				/* __CONFIG_H */
include/configs/omap3_zoom1.h +0 -1
index b05e096ea5..9e73dd66d7 100644
@@ -58,7 +58,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #define CONFIG_CMD_NAND_LOCK_UNLOCK /* Enable lock/unlock support */
 #endif
include/configs/pengwyn.h +0 -1
index f7f50f1e36..4acb46f8ae 100644
@@ -166,7 +166,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 /*
include/configs/twister.h +0 -1
index 80d480b103..bec402ea9c 100644
@@ -36,7 +36,6 @@
 	"bootcmd=run nandboot\0"
 
 /* SPL OS boot options */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 
 #define CONFIG_SYS_SPL_ARGS_ADDR	(PHYS_SDRAM_1 + 0x100)
scripts/config_whitelist.txt +0 -1
index e463e53f17..ce044be4ef 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
 CONFIG_CMD_TCA642X
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#57 lore raw

PATCH 26/41 Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig

Quoted 30 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_SPL_WRITE_SIZE

---

 cmd/Kconfig                               | 9 +++++++++
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/devkit8000_defconfig              | 1 +
 configs/gwventana_emmc_defconfig          | 1 +
 configs/gwventana_gw5904_defconfig        | 1 +
 configs/gwventana_nand_defconfig          | 1 +
 configs/ipam390_defconfig                 | 1 +
 configs/mx6sabresd_defconfig              | 1 +
 configs/twister_defconfig                 | 1 +
 include/configs/am335x_evm.h              | 1 -
 include/configs/am43xx_evm.h              | 1 -
 include/configs/baltos.h                  | 1 -
 include/configs/bav335x.h                 | 1 -
 include/configs/brppt1.h                  | 1 -
 include/configs/cm_t335.h                 | 1 -
 include/configs/devkit8000.h              | 1 -
 include/configs/dra7xx_evm.h              | 1 -
 include/configs/gw_ventana.h              | 1 -
 include/configs/ipam390.h                 | 1 -
 include/configs/mx6sabreauto.h            | 1 -
 include/configs/mx6sabresd.h              | 1 -
 include/configs/omap3_beagle.h            | 1 -
Quoted 9 lines
 include/configs/omap3_cairo.h             | 1 -
 include/configs/omap3_logic.h             | 1 -
 include/configs/omap3_overo.h             | 1 -
 include/configs/omap3_zoom1.h             | 1 -
 include/configs/pengwyn.h                 | 1 -
 include/configs/twister.h                 | 1 -
 scripts/config_whitelist.txt              | 1 -
 31 files changed, 19 insertions(+), 20 deletions(-)
#58 lore raw

PATCH 27/41 Convert CONFIG_CMD_STRINGS to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_STRINGS

---

 cmd/Kconfig                  | 8 ++++++++
 include/configs/vct.h        | 1 -
 scripts/config_whitelist.txt | 1 -
 3 files changed, 8 insertions(+), 2 deletions(-)
cmd/Kconfig +8 -0
index c3a2d1efbc..29c80feedf 100644
@@ -486,6 +486,14 @@ config CMD_MEMINFO
 	help
 	  Display memory information.
 
+config CMD_STRINGS
+	bool "strings - display strings in memory"
+	help
+	  This works similarly to the Unix 'strings' command except that it
+	  works with a memory range. String of printable characters found
+	  within the range are displayed. The minimum number of characters
+	  for a sequence to be considered a string can be provided.
+
 endmenu
 
 menu "Compression commands"
include/configs/vct.h +0 -1
index 07e2d9e898..9d2194c807 100644
@@ -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_STRINGS
 #undef CONFIG_CMD_TERMINAL
 
 #undef CONFIG_SMC911X
scripts/config_whitelist.txt +0 -1
index ce044be4ef..21a01efd7c 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
 CONFIG_CMD_TCA642X
 CONFIG_CMD_TERMINAL
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#59 lore raw

PATCH 27/41 Convert CONFIG_CMD_STRINGS to Kconfig

Quoted 11 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_STRINGS

---

 cmd/Kconfig                  | 8 ++++++++
 include/configs/vct.h        | 1 -
 scripts/config_whitelist.txt | 1 -
 3 files changed, 8 insertions(+), 2 deletions(-)

But one comment below:

cmd/Kconfig config CMD_MEMINFO · line 489

Quoted 9 lines
cmd/Kconfig +1 -0
index c3a2d1efbc..29c80feedf 100644
@@ -486,6 +486,14 @@ config CMD_MEMINFO
        help
          Display memory information.
 
+config CMD_STRINGS

I feel the ordering is not correct here since I am sure we previously have command that has R, but we are following M.

Quoted 27 lines
cmd/Kconfig +7 -0
+       bool "strings - display strings in memory"
+       help
+         This works similarly to the Unix 'strings' command except that it
+         works with a memory range. String of printable characters found
+         within the range are displayed. The minimum number of characters
+         for a sequence to be considered a string can be provided.
+
 endmenu
 
 menu "Compression commands"
include/configs/vct.h +0 -1
index 07e2d9e898..9d2194c807 100644
@@ -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_STRINGS
 #undef CONFIG_CMD_TERMINAL
 
 #undef CONFIG_SMC911X
scripts/config_whitelist.txt +0 -0
index ce044be4ef..21a01efd7c 100644

scripts/config_whitelist.txt CONFIG_CM922T_XA10

Quoted 8 lines
scripts/config_whitelist.txt +0 -2
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
 CONFIG_CMD_TCA642X
 CONFIG_CMD_TERMINAL
--

Regards,
Bin

#60 lore raw

PATCH 28/41 gpio: Drop sx151x driver

In reply to Simon Glass

This driver is not used in U-Boot. Drop it and its associated CONFIG options.

---

 drivers/gpio/Makefile        |   1 -
 drivers/gpio/sx151x.c        | 242 -------------------------------------------
 scripts/config_whitelist.txt |   3 -
 3 files changed, 246 deletions(-)
 delete mode 100644 drivers/gpio/sx151x.c
drivers/gpio/Makefile +0 -1
index 8937e99b47..1396467ab6 100644
@@ -45,7 +45,6 @@ obj-$(CONFIG_BCM2835_GPIO)	+= bcm2835_gpio.o
 obj-$(CONFIG_XILINX_GPIO)	+= xilinx_gpio.o
 obj-$(CONFIG_ADI_GPIO2)	+= adi_gpio2.o
 obj-$(CONFIG_TCA642X)		+= tca642x.o
-oby-$(CONFIG_SX151X)		+= sx151x.o
 obj-$(CONFIG_SUNXI_GPIO)	+= sunxi_gpio.o
 obj-$(CONFIG_LPC32XX_GPIO)	+= lpc32xx_gpio.o
 obj-$(CONFIG_STM32_GPIO)	+= stm32_gpio.o
drivers/gpio/sx151x.c deleted +0 -242

242 lines not on this page · raw message

scripts/config_whitelist.txt +0 -3
index 21a01efd7c..632b2e3f5d 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SX151X
 CONFIG_CMD_TCA642X
 CONFIG_CMD_TERMINAL
 CONFIG_CMD_TFTP
@@ -2353,8 +2352,6 @@ CONFIG_SUPPORT_EMMC_RPMB
 CONFIG_SUPPORT_RAW_INITRD
 CONFIG_SUPPORT_VFAT
 CONFIG_SUVD3
-CONFIG_SX151X_GPIO_COUNT_8
-CONFIG_SX151X_SPI_BUS
 CONFIG_SXNI855T
 CONFIG_SYSCOUNTER_TIMER
 CONFIG_SYSFLAGS_ADDR
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#61 lore raw

PATCH 28/41 gpio: Drop sx151x driver

Hi Simon,

Quoted 12 lines · Simon Glass

This driver is not used in U-Boot. Drop it and its associated CONFIG options.

---

 drivers/gpio/Makefile        |   1 -
 drivers/gpio/sx151x.c        | 242 -------------------------------------------
 scripts/config_whitelist.txt |   3 -
 3 files changed, 246 deletions(-)
 delete mode 100644 drivers/gpio/sx151x.c

We should also drop include/sx151x.h.

Other than that,

Regards,
Bin

#62 lore raw

PATCH 29/41 Convert CONFIG_CMD_TCA642X to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_TCA642X

---

 configs/omap5_uevm_defconfig | 1 +
 drivers/gpio/Kconfig         | 9 +++++++++
 include/configs/omap5_uevm.h | 1 -
 scripts/config_whitelist.txt | 1 -
 4 files changed, 10 insertions(+), 2 deletions(-)
configs/omap5_uevm_defconfig +1 -0
index 338324d1f9..0dc7994535 100644
@@ -37,6 +37,7 @@ CONFIG_ISO_PARTITION=y
 CONFIG_SCSI=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_CMD_TCA642X=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
drivers/gpio/Kconfig +9 -0
index 2fffd4dc3d..4deb6cdf59 100644
@@ -159,6 +159,15 @@ config SANDBOX_GPIO_COUNT
 	  of 'anonymous' GPIOs that do not belong to any device or bank.
 	  Select a suitable value depending on your needs.
 
+config CMD_TCA642X
+	bool "tca642x - Command to access tca642x state"
+	help
+	  DEPRECATED - This needs conversion to driver model
+
+	  This provides a way to looking at the pin state of this device.
+	  This mirrors the 'gpio' command and that should be used in preference
+	  to custom code.
+
 config TEGRA_GPIO
 	bool "Tegra20..210 GPIO driver"
 	depends on DM_GPIO
include/configs/omap5_uevm.h +0 -1
index 15d06bbe45..b8332c362d 100644
@@ -47,7 +47,6 @@
 
 /* Required support for the TCA642X GPIO we have on the uEVM */
 #define CONFIG_TCA642X
-#define CONFIG_CMD_TCA642X
 #define CONFIG_SYS_I2C_TCA642X_BUS_NUM 4
 #define CONFIG_SYS_I2C_TCA642X_ADDR 0x22
 
scripts/config_whitelist.txt +0 -1
index 632b2e3f5d..94d845e81b 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_TCA642X
 CONFIG_CMD_TERMINAL
 CONFIG_CMD_TFTP
 CONFIG_CMD_THOR_DOWNLOAD
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#63 lore raw

PATCH 29/41 Convert CONFIG_CMD_TCA642X to Kconfig

Quoted 12 lines · Simon Glass

This converts the following to Kconfig:

   CONFIG_CMD_TCA642X

---

 configs/omap5_uevm_defconfig | 1 +
 drivers/gpio/Kconfig         | 9 +++++++++
 include/configs/omap5_uevm.h | 1 -
 scripts/config_whitelist.txt | 1 -
 4 files changed, 10 insertions(+), 2 deletions(-)
#64 lore raw

PATCH 30/41 Convert CONFIG_CMD_TERMINAL to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_TERMINAL

---

 cmd/Kconfig                  | 8 ++++++++
 include/config_cmd_all.h     | 1 -
 include/configs/vct.h        | 2 --
 scripts/config_whitelist.txt | 1 -
 4 files changed, 8 insertions(+), 4 deletions(-)
cmd/Kconfig +8 -0
index 29c80feedf..27d2be8dfb 100644
@@ -1093,6 +1093,14 @@ config CMD_QFW
 
 source "cmd/mvebu/Kconfig"
 
+config CMD_TERMINAL
+	bool "terminal - provides a way to attach a serial terminal"
+	help
+	  Provides a 'cu'-like serial terminal command. This can be used to
+	  access other serial ports from the system console. The terminal
+	  is very simple with no special processing of characters. As with
+	  cu, you can press ~. (tilde followed by period) to exit.
+
 endmenu
 
 config CMD_BOOTSTAGE
include/config_cmd_all.h +0 -1
index db9f336431..a73909df9b 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
 #define CONFIG_CMD_UNIVERSE	/* Tundra Universe Support	*/
 #define CONFIG_CMD_ZFS		/* ZFS Support			*/
include/configs/vct.h +0 -2
index 9d2194c807..2b581fc029 100644
@@ -247,8 +247,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_TERMINAL
-
 #undef CONFIG_SMC911X
 #undef CONFIG_SYS_I2C_SOFT
 #undef CONFIG_SOURCE
scripts/config_whitelist.txt +0 -1
index 94d845e81b..eea40c4ac4 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_TERMINAL
 CONFIG_CMD_TFTP
 CONFIG_CMD_THOR_DOWNLOAD
 CONFIG_CMD_TRACE
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#65 lore raw

PATCH 30/41 Convert CONFIG_CMD_TERMINAL to Kconfig

Quoted 12 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_TERMINAL

---

 cmd/Kconfig                  | 8 ++++++++
 include/config_cmd_all.h     | 1 -
 include/configs/vct.h        | 2 --
 scripts/config_whitelist.txt | 1 -
 4 files changed, 8 insertions(+), 4 deletions(-)
#66 lore raw

PATCH 31/41 Kconfig: Drop CONFIG_CMD_TFTP

In reply to Simon Glass

This is not a valid CONFIG option. Drop it.

---

 include/configs/dragonboard410c.h | 1 -
 scripts/config_whitelist.txt      | 1 -
 2 files changed, 2 deletions(-)
include/configs/dragonboard410c.h +0 -1
index 712e11725b..1608312c43 100644
@@ -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_TFTP
 
 /* Partition table support */
 #define HAVE_BLOCK_DEVICE /* Needed for partition commands */
scripts/config_whitelist.txt +0 -1
index eea40c4ac4..8c5b0ba723 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_TFTP
 CONFIG_CMD_THOR_DOWNLOAD
 CONFIG_CMD_TRACE
 CONFIG_CMD_TSI148
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#68 lore raw

PATCH 32/41 Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_THOR_DOWNLOAD

---

 cmd/Kconfig                                      | 8 ++++++++
 configs/odroid-xu3_defconfig                     | 1 +
 configs/odroid_defconfig                         | 1 +
 configs/origen_defconfig                         | 1 +
 configs/s5p_goni_defconfig                       | 1 +
 configs/s5pc210_universal_defconfig              | 1 +
 configs/topic_miami_defconfig                    | 1 +
 configs/topic_miamilite_defconfig                | 1 +
 configs/topic_miamiplus_defconfig                | 1 +
 configs/trats2_defconfig                         | 1 +
 configs/trats_defconfig                          | 1 +
 configs/xilinx_zynqmp_ep_defconfig               | 1 +
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 +
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 +
 configs/xilinx_zynqmp_zcu102_defconfig           | 1 +
 configs/xilinx_zynqmp_zcu102_revB_defconfig      | 1 +
 configs/zynq_microzed_defconfig                  | 1 +
 configs/zynq_picozed_defconfig                   | 1 +
 configs/zynq_zc702_defconfig                     | 1 +
 configs/zynq_zc706_defconfig                     | 1 +
 configs/zynq_zed_defconfig                       | 1 +
 configs/zynq_zybo_defconfig                      | 1 +
 include/configs/exynos4-common.h                 | 1 -
 include/configs/odroid_xu3.h                     | 1 -
 include/configs/s5p_goni.h                       | 1 -
 include/configs/smdkv310.h                       | 1 -
 include/configs/xilinx_zynqmp.h                  | 1 -
 include/configs/zynq-common.h                    | 1 -
 scripts/config_whitelist.txt                     | 1 -
 29 files changed, 29 insertions(+), 7 deletions(-)
cmd/Kconfig +8 -0
index 27d2be8dfb..7938944ca9 100644
@@ -298,6 +298,14 @@ config CMD_SPL_WRITE_SIZE
 	  flash used by Falcon-mode boot. See the documentation until CMD_SPL
 	  for detail.
 
+config CMD_THOR_DOWNLOAD
+	bool "thor - TIZEN 'thor' download"
+	help
+	  Implements the 'thor' download protocol. This is a way of
+	  downloading a software update over USB from an attached host.
+	  There is no documentation about this within the U-Boot source code
+	  but you should be able to find something on the interwebs.
+
 endmenu
 
 menu "Environment commands"
configs/odroid-xu3_defconfig +1 -0
index 28025fc4e5..a834aacb80 100644
@@ -11,6 +11,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_PROMPT="ODROID-XU3 # "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/odroid_defconfig +1 -0
index 22e86e28c3..c9e55406eb 100644
@@ -13,6 +13,7 @@ CONFIG_SYS_PROMPT="Odroid # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/origen_defconfig +1 -0
index 573c9e29a7..0a27833f46 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="ORIGEN # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/s5p_goni_defconfig +1 -0
index 3e93eb7e0f..d5c183ac1d 100644
@@ -8,6 +8,7 @@ CONFIG_SYS_PROMPT="Goni # "
 # CONFIG_AUTOBOOT is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/s5pc210_universal_defconfig +1 -0
index 021e6c5102..cdbf12ceff 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_PROMPT="Universal # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/topic_miami_defconfig +1 -0
index 88c2614b2f..0c47fadff2 100644
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/topic_miamilite_defconfig +1 -0
index 8eff0ec200..88c4642406 100644
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/topic_miamiplus_defconfig +1 -0
index b8c41d4355..06156e208f 100644
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/trats2_defconfig +1 -0
index 16ac27fb95..f91ec1d3c3 100644
@@ -13,6 +13,7 @@ CONFIG_SYS_PROMPT="Trats2 # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/trats_defconfig +1 -0
index 0f2445bdf4..3a8f075d7b 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Trats # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/xilinx_zynqmp_ep_defconfig +1 -0
index 578db22e41..9da79b76f6 100644
@@ -20,6 +20,7 @@ CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_CONSOLE is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
 CONFIG_CMD_UNZIP=y
configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig +1 -0
index 9daaa06c73..4b9bdf53ad 100644
@@ -19,6 +19,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig +1 -0
index 3ac743bedb..d26873256e 100644
@@ -20,6 +20,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
configs/xilinx_zynqmp_zcu102_defconfig +1 -0
index 1d5150c7e4..66e14bfa87 100644
@@ -19,6 +19,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
configs/xilinx_zynqmp_zcu102_revB_defconfig +1 -0
index 4136d76d29..21d750c267 100644
@@ -19,6 +19,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
configs/zynq_microzed_defconfig +1 -0
index f9221427e2..ed5bbc60cd 100644
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_picozed_defconfig +1 -0
index 0419ed5b89..aab41321a1 100644
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/zynq_zc702_defconfig +1 -0
index ea1e0777c2..8621dbacb2 100644
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_zc706_defconfig +1 -0
index 29f2ce6fc6..b66dddab68 100644
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
configs/zynq_zed_defconfig +1 -0
index de61ed406b..10adf9925b 100644
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_zybo_defconfig +1 -0
index 2bc2f155f3..b207b7e587 100644
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
include/configs/exynos4-common.h +0 -1
index 9f0131a7ee..94fd3b36f6 100644
@@ -21,7 +21,6 @@
 #define CONFIG_MMC_DEFAULT_DEV	0
 
 /* TIZEN THOR downloader support */
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
include/configs/odroid_xu3.h +0 -1
index ba29f3e7d1..ed7aec321b 100644
@@ -52,7 +52,6 @@
 #define CONFIG_G_DNL_THOR_VENDOR_NUM	CONFIG_G_DNL_VENDOR_NUM
 #define CONFIG_G_DNL_THOR_PRODUCT_NUM	0x685D
 #define CONFIG_USB_FUNCTION_THOR
-#define CONFIG_CMD_THOR_DOWNLOAD
 
 /* UMS */
 #define CONFIG_G_DNL_UMS_VENDOR_NUM	0x0525
include/configs/s5p_goni.h +0 -1
index 108b573a11..5944b69577 100644
@@ -56,7 +56,6 @@
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
 /* TIZEN THOR downloader support */
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 
 /* USB Samsung's IDs */
include/configs/smdkv310.h +0 -1
index ccb89216d8..5606fe4fa7 100644
@@ -15,7 +15,6 @@
 #undef CONFIG_USB_GADGET_DWC2_OTG
 #undef CONFIG_USB_GADGET_DWC2_OTG_PHY
 #undef CONFIG_REVISION_TAG
-#undef CONFIG_CMD_THOR_DOWNLOAD
 
 /* High Level Configuration Options */
 #define CONFIG_EXYNOS4210		1	/* which is a EXYNOS4210 SoC */
include/configs/xilinx_zynqmp.h +0 -1
index c7fcd86dd5..de8a6db424 100644
@@ -96,7 +96,6 @@
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE	0x1800000
 #define DFU_DEFAULT_POLL_TIMEOUT	300
 #define CONFIG_USB_CABLE_CHECK
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 #define CONFIG_THOR_RESET_OFF
 #define DFU_ALT_INFO_RAM \
include/configs/zynq-common.h +0 -1
index b69f4c7ba4..53b92c4252 100644
@@ -92,7 +92,6 @@
 # define CONFIG_SYS_DFU_DATA_BUF_SIZE	0x600000
 # define DFU_DEFAULT_POLL_TIMEOUT	300
 # define CONFIG_USB_CABLE_CHECK
-# define CONFIG_CMD_THOR_DOWNLOAD
 # define CONFIG_THOR_RESET_OFF
 # define CONFIG_USB_FUNCTION_THOR
 # define DFU_ALT_INFO_RAM \
scripts/config_whitelist.txt +0 -1
index 8c5b0ba723..fc6b184310 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_THOR_DOWNLOAD
 CONFIG_CMD_TRACE
 CONFIG_CMD_TSI148
 CONFIG_CMD_UNIVERSE
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#69 lore raw

PATCH 32/41 Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig

Quoted 28 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_THOR_DOWNLOAD

---

 cmd/Kconfig                                      | 8 ++++++++
 configs/odroid-xu3_defconfig                     | 1 +
 configs/odroid_defconfig                         | 1 +
 configs/origen_defconfig                         | 1 +
 configs/s5p_goni_defconfig                       | 1 +
 configs/s5pc210_universal_defconfig              | 1 +
 configs/topic_miami_defconfig                    | 1 +
 configs/topic_miamilite_defconfig                | 1 +
 configs/topic_miamiplus_defconfig                | 1 +
 configs/trats2_defconfig                         | 1 +
 configs/trats_defconfig                          | 1 +
 configs/xilinx_zynqmp_ep_defconfig               | 1 +
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 +
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 +
 configs/xilinx_zynqmp_zcu102_defconfig           | 1 +
 configs/xilinx_zynqmp_zcu102_revB_defconfig      | 1 +
 configs/zynq_microzed_defconfig                  | 1 +
 configs/zynq_picozed_defconfig                   | 1 +
 configs/zynq_zc702_defconfig                     | 1 +
 configs/zynq_zc706_defconfig                     | 1 +
 configs/zynq_zed_defconfig                       | 1 +
 configs/zynq_zybo_defconfig                      | 1 +
Quoted 9 lines
 include/configs/exynos4-common.h                 | 1 -
 include/configs/odroid_xu3.h                     | 1 -
 include/configs/s5p_goni.h                       | 1 -
 include/configs/smdkv310.h                       | 1 -
 include/configs/xilinx_zynqmp.h                  | 1 -
 include/configs/zynq-common.h                    | 1 -
 scripts/config_whitelist.txt                     | 1 -
 29 files changed, 29 insertions(+), 7 deletions(-)
#70 lore raw

PATCH 33/41 Convert CONFIG_CMD_YAFFS2 to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_YAFFS2

---

 cmd/Kconfig       | 11 +++++++++++
 cmd/Makefile      |  2 +-
 fs/Kconfig        |  2 ++
 fs/yaffs2/Kconfig |  7 +++++++
 4 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 fs/yaffs2/Kconfig
cmd/Kconfig +11 -0
index 7938944ca9..5aeefe6482 100644
@@ -1368,6 +1368,17 @@ config CMD_SCSI
 	  scan the bus, reset the bus, read and write data and get information
 	  about devices.
 
+config CMD_YAFFS2
+	bool "yaffs2 - Access of YAFFS2 filesystem"
+	depends on YAFFS2
+	default y
+	help
+	  This provides commands for accessing a YAFFS2 filesystem. Yet
+	  Another Flash Filesystem 2 is a filesystem designed specifically
+	  for NAND flash. It incorporates bad-block management and ensures
+	  that device writes are sequential regardless of filesystem
+	  activity.
+
 endmenu
 
 menu "Debug commands"
cmd/Makefile +1 -1
index a85fe25dda..1bf6e3f711 100644
@@ -132,7 +132,7 @@ obj-$(CONFIG_CMD_FS_UUID) += fs_uuid.o
 obj-$(CONFIG_CMD_USB_MASS_STORAGE) += usb_mass_storage.o
 obj-$(CONFIG_CMD_THOR_DOWNLOAD) += thordown.o
 obj-$(CONFIG_CMD_XIMG) += ximg.o
-obj-$(CONFIG_YAFFS2) += yaffs2.o
+obj-$(CONFIG_CMD_YAFFS2) += yaffs2.o
 obj-$(CONFIG_CMD_SPL) += spl.o
 obj-$(CONFIG_CMD_ZIP) += zip.o
 obj-$(CONFIG_CMD_ZFS) += zfs.o
fs/Kconfig +2 -0
index e6438ad0ea..e6803ac8cb 100644
@@ -18,4 +18,6 @@ source "fs/ubifs/Kconfig"
 
 source "fs/cramfs/Kconfig"
 
+source "fs/yaffs2/Kconfig"
+
 endmenu
fs/yaffs2/Kconfig new file +7 -0
new file mode 100644
index 0000000000..45ffdf6c26
@@ -0,0 +1,7 @@
+config YAFFS2
+	bool "YAFFS2 filesystem support"
+	help
+	  This provides access to YAFFS2 filesystems. Yet Another Flash
+	  Filesystem 2 is a filesystem designed specifically for NAND flash.
+	  It incorporates bad-block management and ensures that device
+	  writes are sequential regardless of filesystem activity.
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#71 lore raw

PATCH 33/41 Convert CONFIG_CMD_YAFFS2 to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_YAFFS2

Quoted 9 lines

---

 cmd/Kconfig       | 11 +++++++++++
 cmd/Makefile      |  2 +-
 fs/Kconfig        |  2 ++
 fs/yaffs2/Kconfig |  7 +++++++
 4 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 fs/yaffs2/Kconfig
#72 lore raw

PATCH 34/41 Convert CONFIG_CMD_TRACE to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_TRACE

---

 cmd/Kconfig                      | 9 +++++++++
 include/configs/exynos5-common.h | 1 -
 include/configs/sandbox.h        | 1 -
 scripts/config_whitelist.txt     | 1 -
 4 files changed, 9 insertions(+), 3 deletions(-)
cmd/Kconfig +9 -0
index 5aeefe6482..3973b9d2ea 100644
@@ -1415,6 +1415,15 @@ config CMD_KGDB
 	  single-stepping, inspecting variables, etc. This is supported only
 	  on PowerPC at present.
 
+config CMD_TRACE
+	bool "trace - Support tracing of function calls and timing"
+	help
+	  Enables a command to control using of function tracing within
+	  U-Boot. This allows recording of call traces including timing
+	  information. The command can write data to memory for exporting
+	  for analsys (e.g. using bootchart). See doc/README.trace for full
+	  details.
+
 endmenu
 
 config CMD_UBI
include/configs/exynos5-common.h +0 -1
index 378219d83a..1b30b882cb 100644
@@ -17,7 +17,6 @@
 
 #ifdef FTRACE
 #define CONFIG_TRACE
-#define CONFIG_CMD_TRACE
 #define CONFIG_TRACE_BUFFER_SIZE	(16 << 20)
 #define CONFIG_TRACE_EARLY_SIZE		(8 << 20)
 #define CONFIG_TRACE_EARLY
include/configs/sandbox.h +0 -1
index fd579f72a8..8cdd325319 100644
@@ -8,7 +8,6 @@
 
 #ifdef FTRACE
 #define CONFIG_TRACE
-#define CONFIG_CMD_TRACE
 #define CONFIG_TRACE_BUFFER_SIZE	(16 << 20)
 #define CONFIG_TRACE_EARLY_SIZE		(8 << 20)
 #define CONFIG_TRACE_EARLY
scripts/config_whitelist.txt +0 -1
index fc6b184310..a78736106b 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_TRACE
 CONFIG_CMD_TSI148
 CONFIG_CMD_UNIVERSE
 CONFIG_CMD_UUID
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#73 lore raw

PATCH 34/41 Convert CONFIG_CMD_TRACE to Kconfig

Quoted 12 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_TRACE

---

 cmd/Kconfig                      | 9 +++++++++
 include/configs/exynos5-common.h | 1 -
 include/configs/sandbox.h        | 1 -
 scripts/config_whitelist.txt     | 1 -
 4 files changed, 9 insertions(+), 3 deletions(-)
#74 lore raw

PATCH 35/41 Convert CONFIG_CMD_TSI148 to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_TSI148

---

 cmd/Kconfig                  | 6 ++++++
 configs/caddy2_defconfig     | 1 +
 configs/vme8349_defconfig    | 1 +
 include/configs/vme8349.h    | 1 -
 scripts/config_whitelist.txt | 1 -
 5 files changed, 8 insertions(+), 2 deletions(-)
cmd/Kconfig +6 -0
index 3973b9d2ea..f092447238 100644
@@ -866,6 +866,12 @@ config CMD_SF_TEST
 	  equal the SPI bus speed for a single-bit-wide SPI bus, assuming
 	  everything is working properly.
 
+config CMD_TSI148
+	bool "tsi148 - Command to access tsi148 device"
+	help
+	  This provides various sub-commands to initialise and configure the
+	  Turndra tsi148 device. See the command help for full details.
+
 endmenu
 
 
configs/caddy2_defconfig +1 -0
index fcc8333f72..32496e4d77 100644
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_TSI148=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/vme8349_defconfig +1 -0
index e986fb1e0d..c550232918 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_TSI148=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
include/configs/vme8349.h +0 -1
index e32555ae85..9e2caab41b 100644
@@ -345,7 +345,6 @@
 #define CONFIG_SYS_RTC_BUS_NUM  0x01
 #define CONFIG_SYS_I2C_RTC_ADDR	0x32
 #define CONFIG_RTC_RX8025
-#define CONFIG_CMD_TSI148
 
 /* Pass Ethernet MAC to VxWorks */
 #define CONFIG_SYS_VXWORKS_MAC_PTR	0x000043f0
scripts/config_whitelist.txt +0 -1
index a78736106b..faa16f5404 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_TSI148
 CONFIG_CMD_UNIVERSE
 CONFIG_CMD_UUID
 CONFIG_CMD_ZBOOT
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#75 lore raw

PATCH 35/41 Convert CONFIG_CMD_TSI148 to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:

   CONFIG_CMD_TSI148
Quoted 9 lines

---

 cmd/Kconfig                  | 6 ++++++
 configs/caddy2_defconfig     | 1 +
 configs/vme8349_defconfig    | 1 +
 include/configs/vme8349.h    | 1 -
 scripts/config_whitelist.txt | 1 -
 5 files changed, 8 insertions(+), 2 deletions(-)
#76 lore raw

PATCH 36/41 Convert CONFIG_CMD_UNIVERSE to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_UNIVERSE

---

 cmd/Kconfig                  | 6 ++++++
 include/config_cmd_all.h     | 1 -
 scripts/config_whitelist.txt | 1 -
 3 files changed, 6 insertions(+), 2 deletions(-)
cmd/Kconfig +6 -0
index f092447238..1f2da5444c 100644
@@ -872,6 +872,12 @@ config CMD_TSI148
 	  This provides various sub-commands to initialise and configure the
 	  Turndra tsi148 device. See the command help for full details.
 
+config CMD_UNIVERSE
+	bool "universe - Command to set up the Turndra Universe controller"
+	help
+	  This allows setting up the VMEbus provided by this controller.
+	  See the command help for full details.
+
 endmenu
 
 
include/config_cmd_all.h +0 -1
index a73909df9b..88149080c2 100644
@@ -15,7 +15,6 @@
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
-#define CONFIG_CMD_UNIVERSE	/* Tundra Universe Support	*/
 #define CONFIG_CMD_ZFS		/* ZFS Support			*/
 
 #endif	/* _CONFIG_CMD_ALL_H */
scripts/config_whitelist.txt +0 -1
index faa16f5404..1d5506234d 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_UNIVERSE
 CONFIG_CMD_UUID
 CONFIG_CMD_ZBOOT
 CONFIG_CMD_ZFS
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#77 lore raw

PATCH 36/41 Convert CONFIG_CMD_UNIVERSE to Kconfig

Quoted 11 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_UNIVERSE

---

 cmd/Kconfig                  | 6 ++++++
 include/config_cmd_all.h     | 1 -
 scripts/config_whitelist.txt | 1 -
 3 files changed, 6 insertions(+), 2 deletions(-)
#78 lore raw

PATCH 37/41 Convert CONFIG_CMD_UUID to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_UUID

---

 README                       |  1 -
 cmd/Kconfig                  | 11 +++++++++++
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 2 deletions(-)
README +0 -1
index d0d6fe2b8d..7217037203 100644
@@ -827,7 +827,6 @@ The following options need to be configured:
 		CONFIG_CMD_USB		* USB support
 		CONFIG_CMD_CDP		* Cisco Discover Protocol support
 		CONFIG_CMD_XIMG		  Load part of Multi Image
-		CONFIG_CMD_UUID		* Generate random UUID or GUID string
 
 		EXAMPLE: If you want all functions except of network
 		support you can write:
cmd/Kconfig +11 -0
index 1f2da5444c..28a7c9a399 100644
@@ -1121,6 +1121,17 @@ config CMD_TERMINAL
 	  is very simple with no special processing of characters. As with
 	  cu, you can press ~. (tilde followed by period) to exit.
 
+config CMD_UUID
+	bool "uuid, guid - generation of unique IDs"
+	help
+	  This enables two commands:
+
+	     uuid - generate random Universally Unique Identifier
+	     guid - generate Globally Unique Identifier based on random UUID
+
+	  The two commands are very similar except for the endianness of the
+	  output.
+
 endmenu
 
 config CMD_BOOTSTAGE
scripts/config_whitelist.txt +0 -1
index 1d5506234d..0d7b6fcfc3 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_UUID
 CONFIG_CMD_ZBOOT
 CONFIG_CMD_ZFS
 CONFIG_CM_INIT
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#79 lore raw

PATCH 37/41 Convert CONFIG_CMD_UUID to Kconfig

Quoted 11 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_UUID

---

 README                       |  1 -
 cmd/Kconfig                  | 11 +++++++++++
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 2 deletions(-)
#80 lore raw

PATCH 38/41 Convert CONFIG_CMD_ZBOOT to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ZBOOT

---

 arch/Kconfig                 |  1 +
 cmd/Kconfig                  | 12 ++++++++++++
 include/configs/x86-common.h |  2 --
 scripts/config_whitelist.txt |  1 -
 4 files changed, 13 insertions(+), 3 deletions(-)
arch/Kconfig +1 -0
index a3c9b99ea5..4bf4dae288 100644
@@ -99,6 +99,7 @@ config X86
 	imply CMD_GETTIME
 	imply CMD_IO
 	imply CMD_IRQ
+	imply CMD_ZBOOT
 
 config XTENSA
 	bool "Xtensa architecture"
cmd/Kconfig +12 -0
index 28a7c9a399..cf3ea47ed0 100644
@@ -306,6 +306,18 @@ config CMD_THOR_DOWNLOAD
 	  There is no documentation about this within the U-Boot source code
 	  but you should be able to find something on the interwebs.
 
+config CMD_ZBOOT
+	bool "zboot - x86 boot command"
+	help
+	  With x86 machines it is common to boot a bzImage file which
+	  contains both a kernel and a setup.bin file. The latter includes
+	  configuration information from the dark ages which x86 boards still
+	  need to pick things out of.
+
+	  Consider using FIT in preference to this since it supports directly
+	  booting both 32- and 64-bit kernels, as well as secure boot.
+	  Documentation is available in doc/uImage.FIT/x86-fit-boot.txt
+
 endmenu
 
 menu "Environment commands"
include/configs/x86-common.h +0 -2
index 028eb2e57c..073feb1c50 100644
@@ -71,8 +71,6 @@
  * Command line configuration.
  */
 
-#define CONFIG_CMD_ZBOOT
-
 #define CONFIG_BOOTARGS		\
 	"root=/dev/sdb3 init=/sbin/init rootwait ro"
 #define CONFIG_BOOTCOMMAND	\
scripts/config_whitelist.txt +0 -1
index 0d7b6fcfc3..25842f6da0 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ZBOOT
 CONFIG_CMD_ZFS
 CONFIG_CM_INIT
 CONFIG_CM_MULTIPLE_SSRAM
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#81 lore raw

PATCH 38/41 Convert CONFIG_CMD_ZBOOT to Kconfig

Quoted 12 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ZBOOT

---

 arch/Kconfig                 |  1 +
 cmd/Kconfig                  | 12 ++++++++++++
 include/configs/x86-common.h |  2 --
 scripts/config_whitelist.txt |  1 -
 4 files changed, 13 insertions(+), 3 deletions(-)
#82 lore raw

PATCH 39/41 Convert CONFIG_CMD_ZFS to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ZFS

---

 cmd/Kconfig                  | 11 +++++++++++
 include/config_cmd_all.h     |  1 -
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 2 deletions(-)
cmd/Kconfig +11 -0
index cf3ea47ed0..c9490fca47 100644
@@ -1414,6 +1414,17 @@ config CMD_YAFFS2
 	  that device writes are sequential regardless of filesystem
 	  activity.
 
+config CMD_ZFS
+	bool "zfs - Access of ZFS filesystem"
+	help
+	  This provides commands to accessing a ZFS filesystem, commonly used
+	  on Solaris systems. Two sub-commands are provided:
+
+	    zfsls - list files in a directory
+	    zfsload - load a file
+
+	  See doc/README.zfs for more details.
+
 endmenu
 
 menu "Debug commands"
include/config_cmd_all.h +0 -1
index 88149080c2..7e23abfcd8 100644
@@ -15,6 +15,5 @@
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
-#define CONFIG_CMD_ZFS		/* ZFS Support			*/
 
 #endif	/* _CONFIG_CMD_ALL_H */
scripts/config_whitelist.txt +0 -1
index 25842f6da0..d68f806485 100644
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ZFS
 CONFIG_CM_INIT
 CONFIG_CM_MULTIPLE_SSRAM
 CONFIG_CM_REMAP
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#83 lore raw

PATCH 39/41 Convert CONFIG_CMD_ZFS to Kconfig

Quoted 11 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ZFS

---

 cmd/Kconfig                  | 11 +++++++++++
 include/config_cmd_all.h     |  1 -
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 2 deletions(-)
#84 lore raw

PATCH 40/41 Drop config_cmd_all.h

In reply to Simon Glass

This file does not include all commands and has not for a while. Let's drop it.

---

 README                   |  5 -----
 include/config_cmd_all.h | 19 -------------------
 2 files changed, 24 deletions(-)
 delete mode 100644 include/config_cmd_all.h
README +0 -5
index 7217037203..63742b92b4 100644
@@ -757,11 +757,6 @@ The following options need to be configured:
 		CONFIG_SYS_BAUDRATE_TABLE, see below.
 
 - Monitor Functions:
-		Monitor commands can be included or excluded
-		from the build by using the #include files
-		<config_cmd_all.h> and #undef'ing unwanted
-		commands, or adding #define's for wanted commands.
-
 		The default command configuration includes all commands
 		except those marked below with a "*".
 
include/config_cmd_all.h deleted +0 -19
deleted file mode 100644
index 7e23abfcd8..0000000000
@@ -1,19 +0,0 @@
-/*
- * Copyright 2007 Freescale Semiconductor, Inc.
- *
- * This file is licensed under the terms of the GNU General Public
- * License Version 2. This file is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#ifndef _CONFIG_CMD_ALL_H
-#define _CONFIG_CMD_ALL_H
-
-/*
- * Alphabetical list of all possible commands.
- */
-
-#define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
-
-#endif	/* _CONFIG_CMD_ALL_H */
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#85 lore raw

PATCH 40/41 Drop config_cmd_all.h

Quoted 11 lines · Simon Glass

This file does not include all commands and has not for a while. Let's drop it.

---

 README                   |  5 -----
 include/config_cmd_all.h | 19 -------------------
 2 files changed, 24 deletions(-)
 delete mode 100644 include/config_cmd_all.h
#86 lore raw

PATCH 41/41 README: Drop information about commands

In reply to Simon Glass

Most of this is duplicated in Kconfig help. Add some of that which is not, and remove the help from the README.

---

 README               | 131 +--------------------------------------------------
 cmd/Kconfig          |   4 +-
 cmd/fastboot/Kconfig |   2 +
 3 files changed, 6 insertions(+), 131 deletions(-)
README +1 -130
index 63742b92b4..e9caa458fc 100644
@@ -756,94 +756,6 @@ The following options need to be configured:
 		Select one of the baudrates listed in
 		CONFIG_SYS_BAUDRATE_TABLE, see below.
 
-- Monitor Functions:
-		The default command configuration includes all commands
-		except those marked below with a "*".
-
-		CONFIG_CMD_AES		  AES 128 CBC encrypt/decrypt
-		CONFIG_CMD_ASKENV	* ask for env variable
-		CONFIG_CMD_BDI		  bdinfo
-		CONFIG_CMD_BOOTD	  bootd
-		CONFIG_CMD_BOOTI	* ARM64 Linux kernel Image support
-		CONFIG_CMD_CACHE	* icache, dcache
-		CONFIG_CMD_CONSOLE	  coninfo
-		CONFIG_CMD_DHCP		* DHCP support
-		CONFIG_CMD_DIAG		* Diagnostics
-		CONFIG_CMD_ECHO		  echo arguments
-		CONFIG_CMD_EDITENV	  edit env variable
-		CONFIG_CMD_ELF		* bootelf, bootvx
-		CONFIG_CMD_ENV_EXISTS	* check existence of env variable
-		CONFIG_CMD_EXPORTENV	* export the environment
-		CONFIG_CMD_EXT2		* ext2 command support
-		CONFIG_CMD_EXT4		* ext4 command support
-		CONFIG_CMD_FS_GENERIC	* filesystem commands (e.g. load, ls)
-					  that work for multiple fs types
-		CONFIG_CMD_FS_UUID	* Look up a filesystem UUID
-		CONFIG_CMD_SAVEENV	  saveenv
-		CONFIG_CMD_FLASH	  flinfo, erase, protect
-		CONFIG_CMD_FPGA		  FPGA device initialization support
-		CONFIG_CMD_GO		* the 'go' command (exec code)
-		CONFIG_CMD_GREPENV	* search environment
-		CONFIG_CMD_I2C		* I2C serial bus support
-		CONFIG_CMD_IMI		  iminfo
-		CONFIG_CMD_IMLS		  List all images found in NOR flash
-		CONFIG_CMD_IMLS_NAND	* List all images found in NAND flash
-		CONFIG_CMD_IMPORTENV	* import an environment
-		CONFIG_CMD_INI		* import data from an ini file into the env
-		CONFIG_CMD_ITEST	  Integer/string test of 2 values
-		CONFIG_CMD_LDRINFO	* ldrinfo (display Blackfin loader)
-		CONFIG_CMD_LINK_LOCAL	* link-local IP address auto-configuration
-					  (169.254.*.*)
-		CONFIG_CMD_LOADB	  loadb
-		CONFIG_CMD_LOADS	  loads
-		CONFIG_CMD_MD5SUM	* print md5 message digest
-					  (requires CONFIG_CMD_MEMORY and CONFIG_MD5)
-		CONFIG_CMD_MEMINFO	* Display detailed memory information
-		CONFIG_CMD_MEMORY	  md, mm, nm, mw, cp, cmp, crc, base,
-					  loop, loopw
-		CONFIG_CMD_MEMTEST	* mtest
-		CONFIG_CMD_MISC		  Misc functions like sleep etc
-		CONFIG_CMD_MMC		* MMC memory mapped support
-		CONFIG_CMD_MII		* MII utility commands
-		CONFIG_CMD_NAND		* NAND support
-		CONFIG_CMD_NET		  bootp, tftpboot, rarpboot
-		CONFIG_CMD_NFS		  NFS support
-		CONFIG_CMD_PING		* send ICMP ECHO_REQUEST to network
-					  host
-		CONFIG_CMD_RUN		  run command in env variable
-		CONFIG_CMD_SF		* Read/write/erase SPI NOR flash
-		CONFIG_CMD_SOFTSWITCH	* Soft switch setting command for BF60x
-		CONFIG_CMD_SOURCE	  "source" command Support
-		CONFIG_CMD_SPI		* SPI serial bus support
-		CONFIG_CMD_TFTPSRV	* TFTP transfer in server mode
-		CONFIG_CMD_TFTPPUT	* TFTP put command (upload)
-		CONFIG_CMD_TIME		* run command and report execution time (ARM specific)
-		CONFIG_CMD_TIMER	* access to the system tick timer
-		CONFIG_CMD_USB		* USB support
-		CONFIG_CMD_CDP		* Cisco Discover Protocol support
-		CONFIG_CMD_XIMG		  Load part of Multi Image
-
-		EXAMPLE: If you want all functions except of network
-		support you can write:
-
-		#include "config_cmd_all.h"
-		#undef CONFIG_CMD_NET
-
-	Other Commands:
-		fdt (flattened device tree) command: CONFIG_OF_LIBFDT
-
-	Note:	Don't enable the "icache" and "dcache" commands
-		(configuration option CONFIG_CMD_CACHE) unless you know
-		what you (and your U-Boot users) are doing. Data
-		cache cannot be enabled on systems like the
-		8xx (where accesses to the IMMR region must be
-		uncached), and it cannot be disabled on all other
-		systems where we (mis-) use the data cache to hold an
-		initial stack and some data.
-
-
-		XXX - this list needs to get updated!
-
 - Removal of commands
 		If no commands are needed to boot, you can disable
 		CONFIG_CMDLINE to remove them. In this case, the command line
@@ -1045,10 +957,6 @@ The following options need to be configured:
 		Allow generic access to the SPI bus on the Intel 8257x, for
 		example with the "sspi" command.
 
-		CONFIG_CMD_E1000
-		Management command for E1000 devices.  When used on devices
-		with SPI support you can reprogram the EEPROM from U-Boot.
-
 		CONFIG_EEPRO100
 		Support for Intel 82557/82559/82559ER chips.
 		Optional CONFIG_EEPRO100_SROM_WRITE enables EEPROM
@@ -1183,11 +1091,6 @@ The following options need to be configured:
 			to. Contemporary x86 systems usually map it at
 			0xfed40000.
 
-		CONFIG_CMD_TPM
-		Add tpm monitor functions.
-		Requires CONFIG_TPM. If CONFIG_TPM_AUTH_SESSIONS is set, also
-		provides monitor access to authorized functions.
-
 		CONFIG_TPM
 		Define this to enable the TPM support library which provides
 		functional interfaces to some TPM commands.
@@ -1315,12 +1218,6 @@ The following options need to be configured:
 		CONFIG_USB_FUNCTION_DFU
 		This enables the USB portion of the DFU USB class
 
-		CONFIG_CMD_DFU
-		This enables the command "dfu" which is used to have
-		U-Boot create a DFU class device via USB.  This command
-		requires that the "dfu_alt_info" environment variable be
-		set and define the alt settings to expose to the host.
-
 		CONFIG_DFU_MMC
 		This enables support for exposing (e)MMC devices via DFU.
 
@@ -1360,13 +1257,6 @@ The following options need to be configured:
 		CONFIG_USB_FUNCTION_FASTBOOT
 		This enables the USB part of the fastboot gadget
 
-		CONFIG_CMD_FASTBOOT
-		This enables the command "fastboot" which enables the Android
-		fastboot mode for the platform's USB device. Fastboot is a USB
-		protocol for downloading images, flashing and device control
-		used on Android devices.
-		See doc/README.android-fastboot for more information.
-
 		CONFIG_ANDROID_BOOT_IMAGE
 		This enables support for booting images which use the Android
 		image format header.
@@ -2482,12 +2372,7 @@ The following options need to be configured:
 		commands cp, md...
 
 - Serial Flash support
-		CONFIG_CMD_SF
-
-		Defining this option enables SPI flash commands
-		'sf probe/read/write/erase/update'.
-
-		Usage requires an initial 'probe' to define the serial
+		Usage requires an initial 'sf probe' to define the serial
 		flash parameters, followed by read/write/erase/update
 		commands.
 
@@ -2771,13 +2656,6 @@ FIT uImage format:
 		kernel. Needed for UBI support.
 
 - UBI support
-		CONFIG_CMD_UBI
-
-		Adds commands for interacting with MTD partitions formatted
-		with the UBI flash translation layer
-
-		Requires also defining CONFIG_RBTREE
-
 		CONFIG_UBI_SILENCE_MSG
 
 		Make the verbose messages from UBI stop printing.  This leaves
@@ -2846,13 +2724,6 @@ FIT uImage format:
 		default: 0
 
 - UBIFS support
-		CONFIG_CMD_UBIFS
-
-		Adds commands for interacting with UBI volumes formatted as
-		UBIFS.  UBIFS is read-only in u-boot.
-
-		Requires UBI support as well as CONFIG_LZO
-
 		CONFIG_UBIFS_SILENCE_MSG
 
 		Make the verbose messages from UBIFS stop printing.  This leaves
cmd/Kconfig +3 -1
index c9490fca47..3d2367e2c4 100644
@@ -727,7 +727,9 @@ config CMD_DFU
 	select USB_FUNCTION_DFU
 	help
 	  Enables the command "dfu" which is used to have U-Boot create a DFU
-	  class device via USB.
+	  class device via USB. This command requires that the "dfu_alt_info"
+	  environment variable be set and define the alt settings to expose to
+	  the host.
 
 config CMD_USB_MASS_STORAGE
 	bool "UMS usb mass storage"
cmd/fastboot/Kconfig +2 -0
index 89b9e73440..b84529a374 100644
@@ -18,6 +18,8 @@ config CMD_FASTBOOT
 	  protocol for downloading images, flashing and device control
 	  used on Android devices.
 
+	  See doc/README.android-fastboot for more information.
+
 config ANDROID_BOOT_IMAGE
 	bool "Enable support for Android Boot Images"
 	help
Signature · 1 line
2.14.0.rc0.284.gd933b75aa4-goog
#87 lore raw

PATCH 41/41 README: Drop information about commands

Quoted 11 lines · Simon Glass

Most of this is duplicated in Kconfig help. Add some of that which is not, and remove the help from the README.

---

 README               | 131 +--------------------------------------------------
 cmd/Kconfig          |   4 +-
 cmd/fastboot/Kconfig |   2 +
 3 files changed, 6 insertions(+), 131 deletions(-)