[U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM to Kconfig

Bin Meng bmeng.cn at gmail.com
Sat Jul 22 16:26:31 UTC 2017


Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg at chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SDRAM
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  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(-)
>
> diff --git a/README b/README
> index ce179b828e..3958821f57 100644
> --- a/README
> +++ b/README
> @@ -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
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index ce1a358e08..28aba0e780 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -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
>
>
> diff --git a/configs/MPC8349ITXGP_defconfig b/configs/MPC8349ITXGP_defconfig
> index 09af09d4c3..f1cfd3705c 100644
> --- a/configs/MPC8349ITXGP_defconfig
> +++ b/configs/MPC8349ITXGP_defconfig
> @@ -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
> diff --git a/configs/MPC8349ITX_LOWBOOT_defconfig b/configs/MPC8349ITX_LOWBOOT_defconfig
> index 0650c7979a..4974dd1a9c 100644
> --- a/configs/MPC8349ITX_LOWBOOT_defconfig
> +++ b/configs/MPC8349ITX_LOWBOOT_defconfig
> @@ -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
> diff --git a/configs/MPC8349ITX_defconfig b/configs/MPC8349ITX_defconfig
> index 3763f49ba6..22805ae63e 100644
> --- a/configs/MPC8349ITX_defconfig
> +++ b/configs/MPC8349ITX_defconfig
> @@ -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
> diff --git a/configs/MigoR_defconfig b/configs/MigoR_defconfig
> index f09794e13c..eb4ab40e26 100644
> --- a/configs/MigoR_defconfig
> +++ b/configs/MigoR_defconfig
> @@ -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
> diff --git a/configs/alt_defconfig b/configs/alt_defconfig
> index 04dda72532..3e7a0fdfc3 100644
> --- a/configs/alt_defconfig
> +++ b/configs/alt_defconfig
> @@ -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
> diff --git a/configs/ap325rxa_defconfig b/configs/ap325rxa_defconfig
> index ebefd126a8..2571049f95 100644
> --- a/configs/ap325rxa_defconfig
> +++ b/configs/ap325rxa_defconfig
> @@ -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
> diff --git a/configs/ap_sh4a_4a_defconfig b/configs/ap_sh4a_4a_defconfig
> index 41c8be9120..ba753d6753 100644
> --- a/configs/ap_sh4a_4a_defconfig
> +++ b/configs/ap_sh4a_4a_defconfig
> @@ -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
> diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig
> index 4c16ec19fd..35bb0720eb 100644
> --- a/configs/armadillo-800eva_defconfig
> +++ b/configs/armadillo-800eva_defconfig
> @@ -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
> diff --git a/configs/blanche_defconfig b/configs/blanche_defconfig
> index bf7700cbe1..2d99b4466f 100644
> --- a/configs/blanche_defconfig
> +++ b/configs/blanche_defconfig
> @@ -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
> diff --git a/configs/ecovec_defconfig b/configs/ecovec_defconfig
> index cc172f5181..b2cc056e33 100644
> --- a/configs/ecovec_defconfig
> +++ b/configs/ecovec_defconfig
> @@ -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
> diff --git a/configs/espt_defconfig b/configs/espt_defconfig
> index a6a7af9755..ee2a13d14a 100644
> --- a/configs/espt_defconfig
> +++ b/configs/espt_defconfig
> @@ -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
> diff --git a/configs/gose_defconfig b/configs/gose_defconfig
> index 5627a18631..3d9c48b216 100644
> --- a/configs/gose_defconfig
> +++ b/configs/gose_defconfig
> @@ -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
> diff --git a/configs/koelsch_defconfig b/configs/koelsch_defconfig
> index 465a6be8e7..8f447c7d37 100644
> --- a/configs/koelsch_defconfig
> +++ b/configs/koelsch_defconfig
> @@ -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
> diff --git a/configs/lager_defconfig b/configs/lager_defconfig
> index c2f216bd51..8c4f45e7ff 100644
> --- a/configs/lager_defconfig
> +++ b/configs/lager_defconfig
> @@ -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
> diff --git a/configs/ms7720se_defconfig b/configs/ms7720se_defconfig
> index e1d8588233..7e343de66c 100644
> --- a/configs/ms7720se_defconfig
> +++ b/configs/ms7720se_defconfig
> @@ -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
> diff --git a/configs/ms7722se_defconfig b/configs/ms7722se_defconfig
> index 92f3158dae..dcc7d7d5a3 100644
> --- a/configs/ms7722se_defconfig
> +++ b/configs/ms7722se_defconfig
> @@ -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
> diff --git a/configs/porter_defconfig b/configs/porter_defconfig
> index a50d9ed99b..bea42bef90 100644
> --- a/configs/porter_defconfig
> +++ b/configs/porter_defconfig
> @@ -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
> diff --git a/configs/r0p7734_defconfig b/configs/r0p7734_defconfig
> index 91b08dc24f..7fc54456e8 100644
> --- a/configs/r0p7734_defconfig
> +++ b/configs/r0p7734_defconfig
> @@ -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
> diff --git a/configs/r7780mp_defconfig b/configs/r7780mp_defconfig
> index 57204fb7e5..30c036dd81 100644
> --- a/configs/r7780mp_defconfig
> +++ b/configs/r7780mp_defconfig
> @@ -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
> diff --git a/configs/r8a7795_salvator-x_defconfig b/configs/r8a7795_salvator-x_defconfig
> index c0e3999f96..52bfb28505 100644
> --- a/configs/r8a7795_salvator-x_defconfig
> +++ b/configs/r8a7795_salvator-x_defconfig
> @@ -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
> diff --git a/configs/r8a7796_salvator-x_defconfig b/configs/r8a7796_salvator-x_defconfig
> index d57305112b..2ad0ff8f7d 100644
> --- a/configs/r8a7796_salvator-x_defconfig
> +++ b/configs/r8a7796_salvator-x_defconfig
> @@ -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
> diff --git a/configs/rsk7203_defconfig b/configs/rsk7203_defconfig
> index 1aeb78aad1..2289ca06fb 100644
> --- a/configs/rsk7203_defconfig
> +++ b/configs/rsk7203_defconfig
> @@ -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
> diff --git a/configs/sh7752evb_defconfig b/configs/sh7752evb_defconfig
> index 4e19243f0d..e6e61d81da 100644
> --- a/configs/sh7752evb_defconfig
> +++ b/configs/sh7752evb_defconfig
> @@ -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
> diff --git a/configs/sh7753evb_defconfig b/configs/sh7753evb_defconfig
> index 23b7d7df48..0363c6f95e 100644
> --- a/configs/sh7753evb_defconfig
> +++ b/configs/sh7753evb_defconfig
> @@ -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
> diff --git a/configs/sh7757lcr_defconfig b/configs/sh7757lcr_defconfig
> index 44224e1e43..28425e6d15 100644
> --- a/configs/sh7757lcr_defconfig
> +++ b/configs/sh7757lcr_defconfig
> @@ -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
> diff --git a/configs/sh7763rdp_defconfig b/configs/sh7763rdp_defconfig
> index 028616666c..3e564b5f8d 100644
> --- a/configs/sh7763rdp_defconfig
> +++ b/configs/sh7763rdp_defconfig
> @@ -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
> diff --git a/configs/sh7785lcr_32bit_defconfig b/configs/sh7785lcr_32bit_defconfig
> index 27f40f2a7b..1280e588c0 100644
> --- a/configs/sh7785lcr_32bit_defconfig
> +++ b/configs/sh7785lcr_32bit_defconfig
> @@ -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
> diff --git a/configs/sh7785lcr_defconfig b/configs/sh7785lcr_defconfig
> index 6b3b453f02..cd9a59b62a 100644
> --- a/configs/sh7785lcr_defconfig
> +++ b/configs/sh7785lcr_defconfig
> @@ -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
> diff --git a/configs/shmin_defconfig b/configs/shmin_defconfig
> index dffff1187b..685c105f72 100644
> --- a/configs/shmin_defconfig
> +++ b/configs/shmin_defconfig
> @@ -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
> diff --git a/configs/silk_defconfig b/configs/silk_defconfig
> index d161c3bb88..2abeb82258 100644
> --- a/configs/silk_defconfig
> +++ b/configs/silk_defconfig
> @@ -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
> diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
> index 76943a633a..1d80beb312 100644
> --- a/configs/socrates_defconfig
> +++ b/configs/socrates_defconfig
> @@ -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
> diff --git a/configs/stout_defconfig b/configs/stout_defconfig
> index 48989aaea6..2efa5b7a57 100644
> --- a/configs/stout_defconfig
> +++ b/configs/stout_defconfig
> @@ -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
> diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
> index 6ad3f17169..db9f336431 100644
> --- a/include/config_cmd_all.h
> +++ b/include/config_cmd_all.h
> @@ -14,7 +14,6 @@
>   */
>
>  #define CONFIG_CMD_NAND                /* NAND support                 */
> -#define CONFIG_CMD_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      */
> diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
> index a825cd6a79..393d2103f5 100644
> --- a/include/configs/MPC8349ITX.h
> +++ b/include/configs/MPC8349ITX.h
> @@ -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.

> -#define CONFIG_CMD_SDRAM
>
>  #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \
>                                 || defined(CONFIG_USB_STORAGE)
> diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h
> index 7217426d3a..ed753870cc 100644
> --- a/include/configs/MigoR.h
> +++ b/include/configs/MigoR.h
> @@ -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
> diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
> index b3c22cf4a4..622c4b4758 100644
> --- a/include/configs/ap325rxa.h
> +++ b/include/configs/ap325rxa.h
> @@ -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
> diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
> index 440505dd1f..4fa6b2eb38 100644
> --- a/include/configs/ap_sh4a_4a.h
> +++ b/include/configs/ap_sh4a_4a.h
> @@ -16,8 +16,6 @@
>
>  #define CONFIG_SYS_TEXT_BASE 0x8BFC0000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC4,115200"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h
> index 2023895c3e..d670423b53 100644
> --- a/include/configs/armadillo-800eva.h
> +++ b/include/configs/armadillo-800eva.h
> @@ -16,8 +16,6 @@
>
>  #include <asm/arch/rmobile.h>
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define BOARD_LATE_INIT
>
>  #define CONFIG_BOOTARGS                ""
> diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
> index 2404441860..463a1ba688 100644
> --- a/include/configs/ecovec.h
> +++ b/include/configs/ecovec.h
> @@ -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
> diff --git a/include/configs/espt.h b/include/configs/espt.h
> index 845bcc1c9a..47a3c153ba 100644
> --- a/include/configs/espt.h
> +++ b/include/configs/espt.h
> @@ -17,7 +17,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #define CONFIG_BOOTARGS         "console=ttySC0,115200 root=1f01"
>  #define CONFIG_ENV_OVERWRITE    1
> diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
> index 158b73ce50..791c26b937 100644
> --- a/include/configs/ms7720se.h
> +++ b/include/configs/ms7720se.h
> @@ -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
> diff --git a/include/configs/ms7722se.h b/include/configs/ms7722se.h
> index de6e58a71e..57f07b40b4 100644
> --- a/include/configs/ms7722se.h
> +++ b/include/configs/ms7722se.h
> @@ -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
> diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h
> index 6212dbae21..1304676e4a 100644
> --- a/include/configs/r0p7734.h
> +++ b/include/configs/r0p7734.h
> @@ -16,8 +16,6 @@
>
>  #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC3,115200"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
> index c40de4d1b6..cd6a3bdd85 100644
> --- a/include/configs/r7780mp.h
> +++ b/include/configs/r7780mp.h
> @@ -20,7 +20,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #define CONFIG_SCIF_CONSOLE    1
>  #define CONFIG_CONS_SCIF0      1
> diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
> index 365950d729..217443d596 100644
> --- a/include/configs/rcar-gen2-common.h
> +++ b/include/configs/rcar-gen2-common.h
> @@ -11,8 +11,6 @@
>
>  #include <asm/arch/rmobile.h>
>
> -#define CONFIG_CMD_SDRAM
> -
>  /* Support File sytems */
>  #define CONFIG_SUPPORT_VFAT
>  #define CONFIG_FS_EXT4
> diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h
> index 8da3e7a235..a0eedf033a 100644
> --- a/include/configs/rcar-gen3-common.h
> +++ b/include/configs/rcar-gen3-common.h
> @@ -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
> diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
> index 8dc839df96..11d4fcddc0 100644
> --- a/include/configs/rsk7203.h
> +++ b/include/configs/rsk7203.h
> @@ -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 */
>
> diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h
> index 3342a2966c..1c93349232 100644
> --- a/include/configs/sh7752evb.h
> +++ b/include/configs/sh7752evb.h
> @@ -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
> diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h
> index 78670422f7..9e8c730b8d 100644
> --- a/include/configs/sh7753evb.h
> +++ b/include/configs/sh7753evb.h
> @@ -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
> diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h
> index e9cd3d749a..7fe1ac2ecd 100644
> --- a/include/configs/sh7757lcr.h
> +++ b/include/configs/sh7757lcr.h
> @@ -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
> diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
> index 2186f21f7a..6241b5745f 100644
> --- a/include/configs/sh7763rdp.h
> +++ b/include/configs/sh7763rdp.h
> @@ -17,7 +17,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #define CONFIG_BOOTARGS         "console=ttySC2,115200 root=1f01"
>  #define CONFIG_ENV_OVERWRITE    1
> diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
> index eb657be108..b0afc67257 100644
> --- a/include/configs/sh7785lcr.h
> +++ b/include/configs/sh7785lcr.h
> @@ -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"
> diff --git a/include/configs/shmin.h b/include/configs/shmin.h
> index 995f76a1ea..4e331dae92 100644
> --- a/include/configs/shmin.h
> +++ b/include/configs/shmin.h
> @@ -15,8 +15,6 @@
>  /* T-SH7706LSR*/
>  /* #define CONFIG_T_SH7706LSR  1 */
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC0,115200"
>
>  /*
> diff --git a/include/configs/socrates.h b/include/configs/socrates.h
> index 89119dd14a..7f534b1515 100644
> --- a/include/configs/socrates.h
> +++ b/include/configs/socrates.h
> @@ -279,7 +279,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled            */
>
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index 4949e182c9..6d61b4a526 100644
> --- a/scripts/config_whitelist.txt
> +++ b/scripts/config_whitelist.txt
> @@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
>  CONFIG_CMDLINE_EDITING
>  CONFIG_CMDLINE_PS_SUPPORT
>  CONFIG_CMDLINE_TAG
> -CONFIG_CMD_SDRAM
>  CONFIG_CMD_SF_TEST
>  CONFIG_CMD_SH_ZIMAGEBOOT
>  CONFIG_CMD_SPL
> --

Regards,
Bin


More information about the U-Boot mailing list