The driver for the SDHCI_TEGRA 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
SDHCI_TEGRA.

Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---

 drivers/mmc/Kconfig            | 1 +
 include/configs/tegra-common.h | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index e16dd6a..eb2e9bc 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -531,6 +531,7 @@ config MMC_SDHCI_TANGIER
 config MMC_SDHCI_TEGRA
        bool "SDHCI platform support for the Tegra SD/MMC Controller"
        depends on TEGRA
+       select BOUNCE_BUFFER
        default y
        help
          This selects the Tegra SD/MMC controller. If you have a Tegra
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 4d249dd..d37e2d7 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -88,7 +88,4 @@
 #define CONFIG_SYS_SPL_MALLOC_SIZE     0x00010000
 #endif
 
-/* Misc utility code */
-#define CONFIG_BOUNCE_BUFFER
-
 #endif /* _TEGRA_COMMON_H_ */
-- 
2.1.4

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

Reply via email to