From efce2442d31a51322f2cab366285f91e5c9edc70 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 4 Aug 2017 16:34:45 -0600 Subject: [PATCH] Convert CONFIG_CMD_SDRAM to Kconfig This converts the following to Kconfig: CONFIG_CMD_SDRAM Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- 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 | 5 ----- 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 | 5 ----- include/configs/ms7720se.h | 2 -- include/configs/ms7722se.h | 2 -- include/configs/r0p7734.h | 2 -- include/configs/r7780mp.h | 5 ----- 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 | 5 ----- include/configs/sh7785lcr.h | 1 - include/configs/shmin.h | 2 -- include/configs/socrates.h | 5 ----- scripts/config_whitelist.txt | 1 - 57 files changed, 39 insertions(+), 59 deletions(-) diff --git a/README b/README index 2e79fea3274..d622acdffc7 100644 --- a/README +++ b/README @@ -815,8 +815,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 cf89fd73d21..507e8a3402c 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -785,6 +785,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. + config CMD_SF bool "sf" help diff --git a/configs/MPC8349ITXGP_defconfig b/configs/MPC8349ITXGP_defconfig index 932524ab864..df421adbd3c 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 ef0f39fb8bf..528e52704c7 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 a52d5a27aef..b61556671b2 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 b8e2da2678e..a62d3172d08 100644 --- a/configs/MigoR_defconfig +++ b/configs/MigoR_defconfig @@ -13,6 +13,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 a220003f775..b7637907126 100644 --- a/configs/alt_defconfig +++ b/configs/alt_defconfig @@ -14,6 +14,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 8c1aaf2c3c3..fedaad9677f 100644 --- a/configs/ap325rxa_defconfig +++ b/configs/ap325rxa_defconfig @@ -14,6 +14,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 48c52ad4481..b8d0b6667cd 100644 --- a/configs/ap_sh4a_4a_defconfig +++ b/configs/ap_sh4a_4a_defconfig @@ -15,6 +15,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 cb5e150b9bc..cf0477ba697 100644 --- a/configs/armadillo-800eva_defconfig +++ b/configs/armadillo-800eva_defconfig @@ -18,6 +18,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 c2a4c8092f1..a4f02fe882c 100644 --- a/configs/blanche_defconfig +++ b/configs/blanche_defconfig @@ -9,6 +9,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 d3ce6e6b75c..c31a788ed3d 100644 --- a/configs/ecovec_defconfig +++ b/configs/ecovec_defconfig @@ -17,6 +17,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 b3a9b43f6d3..5a83fe033a7 100644 --- a/configs/espt_defconfig +++ b/configs/espt_defconfig @@ -15,6 +15,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 4427f727225..ae46ebd8893 100644 --- a/configs/gose_defconfig +++ b/configs/gose_defconfig @@ -14,6 +14,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 b8cede2525c..a9c6e30bf00 100644 --- a/configs/koelsch_defconfig +++ b/configs/koelsch_defconfig @@ -14,6 +14,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 5d2e99d9697..3bb4d6453da 100644 --- a/configs/lager_defconfig +++ b/configs/lager_defconfig @@ -14,6 +14,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 a9e3f452ec8..2e5ed212b33 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 37cf8776c22..d3561da2f07 100644 --- a/configs/ms7722se_defconfig +++ b/configs/ms7722se_defconfig @@ -15,6 +15,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 6fbcffae8eb..0308088f4c2 100644 --- a/configs/porter_defconfig +++ b/configs/porter_defconfig @@ -14,6 +14,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 4389a5152fb..cdb9afb55bf 100644 --- a/configs/r0p7734_defconfig +++ b/configs/r0p7734_defconfig @@ -15,6 +15,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 58decc5b524..b2596a4a7aa 100644 --- a/configs/r7780mp_defconfig +++ b/configs/r7780mp_defconfig @@ -16,6 +16,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 82b99fec145..ade83c21594 100644 --- a/configs/r8a7795_salvator-x_defconfig +++ b/configs/r8a7795_salvator-x_defconfig @@ -12,6 +12,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 fcf6990982b..67f14661735 100644 --- a/configs/r8a7796_salvator-x_defconfig +++ b/configs/r8a7796_salvator-x_defconfig @@ -13,6 +13,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 f7b99f48420..8f642bf62f8 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 4b1b361209d..b23d39cbe03 100644 --- a/configs/sh7752evb_defconfig +++ b/configs/sh7752evb_defconfig @@ -18,6 +18,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 af91021f5ce..f98f5d01627 100644 --- a/configs/sh7753evb_defconfig +++ b/configs/sh7753evb_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/sh7757lcr_defconfig b/configs/sh7757lcr_defconfig index 205ede08e16..05c6f4e335f 100644 --- a/configs/sh7757lcr_defconfig +++ b/configs/sh7757lcr_defconfig @@ -18,6 +18,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 d5348f828a6..d4344f79fe1 100644 --- a/configs/sh7763rdp_defconfig +++ b/configs/sh7763rdp_defconfig @@ -15,6 +15,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 d4ebd4b99dc..bd5db3edf14 100644 --- a/configs/sh7785lcr_32bit_defconfig +++ b/configs/sh7785lcr_32bit_defconfig @@ -17,6 +17,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 5aaca3f5743..7547ae475b1 100644 --- a/configs/sh7785lcr_defconfig +++ b/configs/sh7785lcr_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/shmin_defconfig b/configs/shmin_defconfig index 249582f4958..8570bbc46a1 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 f25eb9dcb4e..22037d8f747 100644 --- a/configs/silk_defconfig +++ b/configs/silk_defconfig @@ -14,6 +14,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 0d8753636ed..882de8acce1 100644 --- a/configs/socrates_defconfig +++ b/configs/socrates_defconfig @@ -16,6 +16,7 @@ CONFIG_CMD_REGINFO=y CONFIG_CMD_I2C=y CONFIG_CMD_USB=y CONFIG_CMD_PCI=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 ec2bec93267..47b6685bf46 100644 --- a/configs/stout_defconfig +++ b/configs/stout_defconfig @@ -14,6 +14,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 c72b24284b0..25dd3c73557 100644 --- a/include/config_cmd_all.h +++ b/include/config_cmd_all.h @@ -13,7 +13,6 @@ * Alphabetical list of all possible commands. */ -#define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */ #define CONFIG_CMD_TERMINAL /* built-in Serial Terminal */ #define CONFIG_CMD_UNIVERSE /* Tundra Universe Support */ #define CONFIG_CMD_ZFS /* ZFS Support */ diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h index 952aa61058b..449f2f1f740 100644 --- a/include/configs/MPC8349ITX.h +++ b/include/configs/MPC8349ITX.h @@ -472,11 +472,6 @@ boards, we say we have two, but don't display a message if we find only one. */ #define CONFIG_BOOTP_GATEWAY #define CONFIG_BOOTP_HOSTNAME -/* - * Command line configuration. - */ -#define CONFIG_CMD_SDRAM - #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \ || defined(CONFIG_USB_STORAGE) #define CONFIG_SUPPORT_VFAT diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h index 73b0e6e05a8..a311427435b 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 448c9279a9d..0e0e5f9b43c 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 cbf77822673..0834be4d78e 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 3b8a250f872..ec6d26c3c50 100644 --- a/include/configs/armadillo-800eva.h +++ b/include/configs/armadillo-800eva.h @@ -16,8 +16,6 @@ #include -#define CONFIG_CMD_SDRAM - #define BOARD_LATE_INIT #define CONFIG_BOOTARGS "" diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h index fe56c8f22e1..77a28058938 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 b9538f35d85..bf8f27ba029 100644 --- a/include/configs/espt.h +++ b/include/configs/espt.h @@ -14,11 +14,6 @@ #define CONFIG_ESPT 1 #define __LITTLE_ENDIAN 1 -/* - * Command line configuration. - */ -#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 112145ce77e..77e67aa1839 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 49eadd10e99..af7453e71d6 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 2b04521240f..c2a37c8c3d3 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 21364ddd4ab..271ed53b811 100644 --- a/include/configs/r7780mp.h +++ b/include/configs/r7780mp.h @@ -17,11 +17,6 @@ #define CONFIG_DISPLAY_BOARDINFO -/* - * Command line configuration. - */ -#define CONFIG_CMD_SDRAM - #define CONFIG_CONS_SCIF0 1 #define CONFIG_BOOTARGS "console=ttySC0,115200" diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h index 16f45f2beaf..440984ce86c 100644 --- a/include/configs/rcar-gen2-common.h +++ b/include/configs/rcar-gen2-common.h @@ -11,8 +11,6 @@ #include -#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 6c23249861f..a79d0e60d0f 100644 --- a/include/configs/rcar-gen3-common.h +++ b/include/configs/rcar-gen3-common.h @@ -12,7 +12,6 @@ #include -#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 58aadbef015..ef054dad39e 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 dd3a5fb9dfc..52e11ed8773 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 c53cd175fb7..56b19b196c4 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 8ec4cd44306..da1f92e86e9 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 3876e071e21..ac713d234c9 100644 --- a/include/configs/sh7763rdp.h +++ b/include/configs/sh7763rdp.h @@ -14,11 +14,6 @@ #define CONFIG_SH7763RDP 1 #define __LITTLE_ENDIAN 1 -/* - * Command line configuration. - */ -#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 f249f4298d9..d4477c27949 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 d31dc558b1f..295607808a2 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 c1f7005c2f1..0e16e45aace 100644 --- a/include/configs/socrates.h +++ b/include/configs/socrates.h @@ -273,11 +273,6 @@ #define CONFIG_BOOTP_GATEWAY #define CONFIG_BOOTP_HOSTNAME -/* - * Command line configuration. - */ -#define CONFIG_CMD_SDRAM - #undef CONFIG_WATCHDOG /* watchdog disabled */ /* diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index f07f2764cdd..885253a356f 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -293,7 +293,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