diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2018-11-30 22:13:25 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-19 09:49:26 -0500 |
commit | 2acc24fc28ef782f4baef1aa0193d520ee9610b9 (patch) | |
tree | 73f102dd54eb73f1c005a4554d77f012eaa1dd23 /configs/cl-som-imx7_defconfig | |
parent | 599fb3bc95894b48c606b133056ba2ba438f1ca0 (diff) | |
download | u-boot-2acc24fc28ef782f4baef1aa0193d520ee9610b9.tar.gz |
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 <trini@konsulko.com>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> [dw_mmc portion]
Reviewed-by: Fabio Estevam <festevam@gmail.com> [mxsmmc portion]
Reviewed-by: Simon Glass <sjg@chromium.org> [tegra portion]
Diffstat (limited to 'configs/cl-som-imx7_defconfig')
-rw-r--r-- | configs/cl-som-imx7_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/cl-som-imx7_defconfig b/configs/cl-som-imx7_defconfig index ea7ad5c596..3501e2b864 100644 --- a/configs/cl-som-imx7_defconfig +++ b/configs/cl-som-imx7_defconfig @@ -17,6 +17,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" CONFIG_SPI_BOOT=y CONFIG_BOOTDELAY=3 +CONFIG_BOUNCE_BUFFER=y CONFIG_SPL_BOARD_INIT=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x80 CONFIG_SPL_I2C_SUPPORT=y |