From 2acc24fc28ef782f4baef1aa0193d520ee9610b9 Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Fri, 30 Nov 2018 22:13:25 +0100 Subject: Kconfig: Migrate BOUNCE_BUFFER The bounce buffer is used by a few drivers (most of the MMC drivers) to overcome limitations in their respective DMA implementation. This moves the configuration to Kconfig and makes it user-selectable (even though it will be a required feature to make those drivers work): the expected usage is for drivers depending on this to 'select' it unconditionally from their respective Kconfig (see follow-up patches). This commit includes a full migration using moveconfig.py to ensure that each commit compiles. To ensure bisectability we update dependencies of various drivers to now select BOUNCE_BUFFER when needed. [trini: Squash all patches to ensure bisectability] Signed-off-by: Tom Rini Signed-off-by: Philipp Tomsich Reviewed-by: Otavio Salvador [dw_mmc portion] Reviewed-by: Fabio Estevam [mxsmmc portion] Reviewed-by: Simon Glass [tegra portion] --- configs/mx6qarm2_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/mx6qarm2_defconfig') diff --git a/configs/mx6qarm2_defconfig b/configs/mx6qarm2_defconfig index 2d4beabcc0..5127e1f027 100644 --- a/configs/mx6qarm2_defconfig +++ b/configs/mx6qarm2_defconfig @@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qarm2/imximage.cfg,MX6Q,DDR_MB=2048" CONFIG_BOOTDELAY=3 CONFIG_SUPPORT_RAW_INITRD=y +CONFIG_BOUNCE_BUFFER=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y -- cgit