[U-Boot] [PATCH v3 4/5] mmc: tegra: select BOUNCE_BUFFER unconditionally

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


The driver for the SDHCI_TEGRA depends on the bounce buffer utility
functions. Unconditionally select BOUNCE_BUFFER, when this driver is
enabled.

This also includes the post-processing to drop unused comments after
running moveconfig.

Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---

Changes in v3: None
Changes in v2: None

 drivers/mmc/Kconfig            | 1 +
 include/configs/tegra-common.h | 2 --
 2 files changed, 1 insertion(+), 2 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 178f170..d37e2d7 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -88,6 +88,4 @@
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x00010000
 #endif
 
-/* Misc utility code */
-
 #endif /* _TEGRA_COMMON_H_ */
-- 
2.1.4



More information about the U-Boot mailing list