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.toms...@theobroma-systems.com>
Reviewed-by: Fabio Estevam <feste...@gmail.com>
---

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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to