The driver for the mxsmmc depends on the bounce buffer utility functions. Unconditionally select BOUNCE_BUFFER, when this driver is enabled.
Includes the migration (moveconfig with manual postprocessing of config-headers to drop unused comments) for the boards using mxsmmc. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/mmc/Kconfig | 1 + include/configs/mx6_common.h | 1 - include/configs/mx7_common.h | 1 - include/configs/mx7ulp_evk.h | 1 - include/configs/mxs.h | 5 ----- 5 files changed, 1 insertion(+), 8 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/mx6_common.h b/include/configs/mx6_common.h index 1b2961f..cdc8833 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -55,7 +55,6 @@ #define CONFIG_SYS_MAXARGS 32 /* MMC */ -#define CONFIG_BOUNCE_BUFFER #define CONFIG_FSL_USDHC /* Fuses */ diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index b0b7e1e..a895c93 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -40,7 +40,6 @@ #define CONFIG_MXC_UART /* MMC */ -#define CONFIG_BOUNCE_BUFFER #define CONFIG_FSL_USDHC /* Fuses */ diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h index 3d32ff1..b8dcaa1 100644 --- a/include/configs/mx7ulp_evk.h +++ b/include/configs/mx7ulp_evk.h @@ -27,7 +27,6 @@ #define IRAM_BASE_ADDR OCRAM_0_BASE #define IOMUXC_BASE_ADDR IOMUXC1_RBASE -#define CONFIG_BOUNCE_BUFFER #define CONFIG_FSL_USDHC #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ diff --git a/include/configs/mxs.h b/include/configs/mxs.h index 9e59e7a..20719c9 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -124,11 +124,6 @@ #define CONFIG_VIDEO_MXS #endif -/* MMC */ -#ifdef CONFIG_CMD_MMC -#define CONFIG_BOUNCE_BUFFER -#endif - /* 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