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

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Nov 30 21:13:27 UTC 2018


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 at theobroma-systems.com>
Reviewed-by: Fabio Estevam <festevam at 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 --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
-- 
2.1.4



More information about the U-Boot mailing list