summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-04 22:34:29 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-11 15:36:00 (GMT)
commitf38c5f526c4e8568da2d51712873b1788b9d69ec (patch)
tree80728220a9bc6348d168c0914f2c3d497d2dc5b3
parent0c19b4d180b66cb0e418a084ffcb187bdbc15db9 (diff)
downloadu-boot-fsl-qoriq-f38c5f526c4e8568da2d51712873b1788b9d69ec.tar.xz
Convert CONFIG_CMD_MMC_SPI to Kconfig
This converts the following to Kconfig: CONFIG_CMD_MMC_SPI Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--README1
-rw-r--r--cmd/Kconfig9
-rw-r--r--configs/UCP1020_SPIFLASH_defconfig1
-rw-r--r--configs/UCP1020_defconfig1
-rw-r--r--configs/microblaze-generic_defconfig1
-rw-r--r--include/config_cmd_all.h1
-rw-r--r--include/configs/UCP1020.h1
-rw-r--r--include/configs/am335x_shc.h1
-rw-r--r--include/configs/microblaze-generic.h1
-rw-r--r--scripts/config_whitelist.txt2
10 files changed, 12 insertions, 7 deletions
diff --git a/README b/README
index 01815d4..8d5ff6e 100644
--- a/README
+++ b/README
@@ -836,7 +836,6 @@ The following options need to be configured:
CONFIG_CMD_TIMER * access to the system tick timer
CONFIG_CMD_USB * USB support
CONFIG_CMD_CDP * Cisco Discover Protocol support
- CONFIG_CMD_MFSL * Microblaze FSL support
CONFIG_CMD_XIMG Load part of Multi Image
CONFIG_CMD_UUID * Generate random UUID or GUID string
diff --git a/cmd/Kconfig b/cmd/Kconfig
index b6e2ac3..67890c7 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -709,6 +709,15 @@ config CMD_NAND_TORTURE
endif # CMD_NAND
+config CMD_MMC_SPI
+ bool "mmc_spi - Set up MMC SPI device"
+ help
+ Provides a way to set up an MMC (Multimedia Card) SPI (Serial
+ Peripheral Interface) device. The device provides a means of
+ accessing an MMC device via SPI using a single data line, limited
+ to 20MHz. It is useful since it reduces the amount of protocol code
+ required.
+
config CMD_PART
bool "part"
select PARTITION_UUIDS
diff --git a/configs/UCP1020_SPIFLASH_defconfig b/configs/UCP1020_SPIFLASH_defconfig
index 68ef59a..88228db 100644
--- a/configs/UCP1020_SPIFLASH_defconfig
+++ b/configs/UCP1020_SPIFLASH_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SPI=y
CONFIG_CMD_I2C=y
CONFIG_CMD_USB=y
CONFIG_CMD_GPIO=y
+CONFIG_CMD_MMC_SPI=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
diff --git a/configs/UCP1020_defconfig b/configs/UCP1020_defconfig
index 6999db3..72aeb6c 100644
--- a/configs/UCP1020_defconfig
+++ b/configs/UCP1020_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SPI=y
CONFIG_CMD_I2C=y
CONFIG_CMD_USB=y
CONFIG_CMD_GPIO=y
+CONFIG_CMD_MMC_SPI=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 12dcd00..6233803 100644
--- a/configs/microblaze-generic_defconfig
+++ b/configs/microblaze-generic_defconfig
@@ -23,6 +23,7 @@ CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="U-Boot-mONStR> "
CONFIG_CMD_ASKENV=y
CONFIG_CMD_GPIO=y
+CONFIG_CMD_MFSL=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_TFTPPUT=y
CONFIG_CMD_DHCP=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index e6ebc2f..b3c0d0e 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_MFSL /* FSL support for Microblaze */
#define CONFIG_CMD_ONENAND /* OneNAND support */
#define CONFIG_CMD_PCI /* pciinfo */
#define CONFIG_CMD_PCMCIA /* PCMCIA support */
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 56c1f28..75770f9 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -437,7 +437,6 @@
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_MMC_SPI
-#define CONFIG_CMD_MMC_SPI
#endif
/* Misc Extra Settings */
diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h
index 121beef..b1e44bb 100644
--- a/include/configs/am335x_shc.h
+++ b/include/configs/am335x_shc.h
@@ -19,7 +19,6 @@
#undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
#undef CONFIG_CMD_EXT4
#undef CONFIG_CMD_EXT4_WRITE
-#undef CONFIG_CMD_MMC_SPI
#undef CONFIG_CMD_SPI
#define CONFIG_CMD_CACHE
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 4f77b8e..636c98c 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -163,7 +163,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MFSL
#if defined(FLASH)
# if !defined(RAMENV)
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index bad436d..4a2730a 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -293,8 +293,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_MFSL
-CONFIG_CMD_MMC_SPI
CONFIG_CMD_MTDPARTS_SPREAD
CONFIG_CMD_ONENAND
CONFIG_CMD_PCA953X