[U-Boot] mmc: sdhci: Move ZYNQ_HISPD_BROKEN to Kconfig
diff mbox series

Message ID caf9b35d4ef8087b476c543859eba22c265650f2.1568191462.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series
  • [U-Boot] mmc: sdhci: Move ZYNQ_HISPD_BROKEN to Kconfig
Related show

Commit Message

Michal Simek Sept. 11, 2019, 8:44 a.m. UTC
From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

This patch moves CONFIG_ZYNQ_HISPD_BROKEN to Kconfig

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

That config_whitelist.txt change doesn't need to be the part of commit but
DP has done that and it should be ok to keep it there.
---
 drivers/mmc/Kconfig          | 6 ++++++
 scripts/config_whitelist.txt | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 8fb2bfa44419..41f62d75d664 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -635,6 +635,12 @@  config ZYNQ_SDHCI_MIN_FREQ
 	help
 	  Set the minimum frequency of the controller.
 
+config ZYNQ_HISPD_BROKEN
+	bool "High speed broken for Zynq SDHCI controller"
+	depends on MMC_SDHCI_ZYNQ
+	help
+	  Set if high speed mode is broken.
+
 config MMC_SUNXI
 	bool "Allwinner sunxi SD/MMC Host Controller support"
 	depends on ARCH_SUNXI && !UART0_PORT_F
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index b18eab1707ac..5f07a14139b5 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -4377,5 +4377,4 @@  CONFIG_YAFFS_WINCE
 CONFIG_YELLOW_LED
 CONFIG_ZLT
 CONFIG_ZM7300
-CONFIG_ZYNQ_HISPD_BROKEN
 CONFIG_eTSEC_MDIO_BUS