diff mbox series

[U-Boot,v3,3/5] mmc: mxsmmc: select BOUNCE_BUFFER unconditionally

Message ID 1543612409-62772-4-git-send-email-philipp.tomsich@theobroma-systems.com
State Accepted
Delegated to: Tom Rini
Headers show
Series Migrate BOUNCE_BUFFER | expand

Commit Message

Philipp Tomsich Nov. 30, 2018, 9:13 p.m. UTC
The driver for the mxsmmc depends on the bounce buffer utility
functions. Unconditionally select BOUNCE_BUFFER, when this driver
is enabled.

This commit also includes the postprocessing to remove now-unused
comments from the config-header after moveconfig has run.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
---

Changes in v3: None
Changes in v2: None

 drivers/mmc/Kconfig   | 1 +
 include/configs/mxs.h | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 65d43a5..e16dd6a 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -240,6 +240,7 @@  config MMC_MXC
 config MMC_MXS
 	bool "Freescale MXS Multimedia Card Interface support"
 	depends on MX23 || MX28 || MX6 || MX7
+	select BOUNCE_BUFFER
 	select APBH_DMA
 	select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
 	select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7
diff --git a/include/configs/mxs.h b/include/configs/mxs.h
index 140fe87..20719c9 100644
--- a/include/configs/mxs.h
+++ b/include/configs/mxs.h
@@ -124,8 +124,6 @@ 
 #define CONFIG_VIDEO_MXS
 #endif
 
-/* MMC */
-
 /* NAND */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_SYS_MAX_NAND_DEVICE	1