diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2018-12-01 00:13:25 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-19 17:49:26 +0300 |
commit | 2acc24fc28ef782f4baef1aa0193d520ee9610b9 (patch) | |
tree | 73f102dd54eb73f1c005a4554d77f012eaa1dd23 /include/configs/rk3036_common.h | |
parent | 599fb3bc95894b48c606b133056ba2ba438f1ca0 (diff) | |
download | u-boot-2acc24fc28ef782f4baef1aa0193d520ee9610b9.tar.xz |
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 'include/configs/rk3036_common.h')
-rw-r--r-- | include/configs/rk3036_common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h index d4e5406101..e307855d04 100644 --- a/include/configs/rk3036_common.h +++ b/include/configs/rk3036_common.h @@ -24,9 +24,6 @@ #define CONFIG_ROCKCHIP_MAX_INIT_SIZE (4 << 10) #define CONFIG_ROCKCHIP_CHIP_TAG "RK30" -/* MMC/SD IP block */ -#define CONFIG_BOUNCE_BUFFER - #define CONFIG_SYS_SDRAM_BASE 0x60000000 #define SDRAM_BANK_SIZE (512UL << 20UL) #define SDRAM_MAX_SIZE (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE) |