Skip to contentSkip to conversation

Migrate BOUNCE_BUFFER

PATCH New Philipp Tomsich 5 participants 17 messages Nov 30, 2018 – Jan 19, 2019

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

v3 cover Migrate BOUNCE_BUFFER

A number of MMC drivers uses BOUNCE_BUFFER for their DMA buffers. This moves it into Kconfig and performs a step-by-step migration for the affected boards/drivers.

Given that BOUNCE_BUFFER only controls whether the bounce_buffer_* functions are build and linked, this configuration option could be entirely removed and the utility functions built unconditionally. For platforms that don't make use of these functions, the linker will then remove the unused symbols.

I'll leave the final decision if this would be a better implementation (or if this should be done in a two-stage process) to someone else...

Changes in v3:
- also remove the define from the recently added rv1108_common.h

Changes in v2:
- address sequencing of changes to ensure that tree remains buildable after each individual patch is applied
- extended help message in Kconfig to explicitly note that bounce buffers can be used to have properly aligned buffers

Philipp Tomsich (5):
Kconfig: Migrate BOUNCE_BUFFER
mmc: dw_mmc: depend on BOUNCE_BUFFER
mmc: mxsmmc: select BOUNCE_BUFFER unconditionally
mmc: tegra: select BOUNCE_BUFFER unconditionally
arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

 arch/arc/Kconfig                          |  2 ++
 common/Kconfig                            | 11 +++++++++++
 configs/apalis-tk1_defconfig              |  1 +
 configs/apalis_imx6_defconfig             |  1 +
 configs/apalis_imx6_nospl_com_defconfig   |  1 +
 configs/apalis_imx6_nospl_it_defconfig    |  1 +
 configs/apalis_t30_defconfig              |  1 +
 configs/apx4devkit_defconfig              |  1 +
 configs/aristainetos2_defconfig           |  1 +
 configs/aristainetos2b_defconfig          |  1 +
 configs/aristainetos_defconfig            |  1 +
 configs/arndale_defconfig                 |  1 +
 configs/bcm911360_entphn-ns_defconfig     |  1 +
 configs/bcm911360_entphn_defconfig        |  1 +
 configs/bcm911360k_defconfig              |  1 +
 configs/bcm958300k-ns_defconfig           |  1 +
 configs/bcm958300k_defconfig              |  1 +
 configs/bcm958305k_defconfig              |  1 +
 configs/bcm958622hr_defconfig             |  1 +
 configs/beaver_defconfig                  |  1 +
 configs/cardhu_defconfig                  |  1 +
 configs/cei-tk1-som_defconfig             |  1 +
 configs/cgtqmx6eval_defconfig             |  1 +
 configs/chromebit_mickey_defconfig        |  1 +
 configs/chromebook_jerry_defconfig        |  1 +
 configs/chromebook_minnie_defconfig       |  1 +
 configs/cl-som-imx7_defconfig             |  1 +
 configs/cm_fx6_defconfig                  |  1 +
 configs/colibri-imx6ull_defconfig         |  1 +
 configs/colibri_imx6_defconfig            |  1 +
 configs/colibri_imx6_nospl_defconfig      |  1 +
 configs/colibri_imx7_defconfig            |  1 +
 configs/colibri_t20_defconfig             |  1 +
 configs/colibri_t30_defconfig             |  1 +
 configs/dalmore_defconfig                 |  1 +
 configs/dh_imx6_defconfig                 |  1 +
 configs/display5_defconfig                |  1 +
 configs/display5_factory_defconfig        |  1 +
 configs/dms-ba16-1g_defconfig             |  1 +
 configs/dms-ba16_defconfig                |  1 +
 configs/e2220-1170_defconfig              |  1 +
 configs/evb-px5_defconfig                 |  1 +
 configs/evb-rk3036_defconfig              |  1 +
 configs/evb-rk3128_defconfig              |  1 +
 configs/evb-rk3229_defconfig              |  1 +
 configs/evb-rk3288_defconfig              |  1 +
 configs/evb-rk3328_defconfig              |  1 +
 configs/evb-rk3399_defconfig              |  1 +
 configs/fennec-rk3288_defconfig           |  1 +
 configs/firefly-rk3288_defconfig          |  1 +
 configs/firefly-rk3399_defconfig          |  1 +
 configs/ge_bx50v3_defconfig               |  1 +
 configs/geekbox_defconfig                 |  1 +
 configs/gwventana_emmc_defconfig          |  1 +
 configs/gwventana_gw5904_defconfig        |  1 +
 configs/gwventana_nand_defconfig          |  1 +
 configs/harmony_defconfig                 |  1 +
 configs/hikey_defconfig                   |  1 +
 configs/imx6dl_icore_nand_defconfig       |  1 +
 configs/imx6dl_mamoj_defconfig            |  1 +
 configs/imx6q_icore_nand_defconfig        |  1 +
 configs/imx6q_logic_defconfig             |  1 +
 configs/imx6qdl_icore_mipi_defconfig      |  1 +
 configs/imx6qdl_icore_mmc_defconfig       |  1 +
 configs/imx6qdl_icore_nand_defconfig      |  1 +
 configs/imx6qdl_icore_rqs_defconfig       |  1 +
 configs/imx6ul_geam_mmc_defconfig         |  1 +
 configs/imx6ul_geam_nand_defconfig        |  1 +
 configs/imx6ul_isiot_emmc_defconfig       |  1 +
 configs/imx6ul_isiot_nand_defconfig       |  1 +
 configs/jetson-tk1_defconfig              |  1 +
 configs/kp_imx6q_tpc_defconfig            |  1 +
 configs/kylin-rk3036_defconfig            |  1 +
 configs/lion-rk3368_defconfig             |  1 +
 configs/liteboard_defconfig               |  1 +
 configs/marsboard_defconfig               |  1 +
 configs/mccmon6_nor_defconfig             |  1 +
 configs/mccmon6_sd_defconfig              |  1 +
 configs/medcom-wide_defconfig             |  1 +
 configs/miqi-rk3288_defconfig             |  1 +
 configs/mx23_olinuxino_defconfig          |  1 +
 configs/mx23evk_defconfig                 |  1 +
 configs/mx28evk_auart_console_defconfig   |  1 +
 configs/mx28evk_defconfig                 |  1 +
 configs/mx28evk_nand_defconfig            |  1 +
 configs/mx28evk_spi_defconfig             |  1 +
 configs/mx6cuboxi_defconfig               |  1 +
 configs/mx6dlarm2_defconfig               |  1 +
 configs/mx6dlarm2_lpddr2_defconfig        |  1 +
 configs/mx6memcal_defconfig               |  1 +
 configs/mx6qarm2_defconfig                |  1 +
 configs/mx6qarm2_lpddr2_defconfig         |  1 +
 configs/mx6qsabrelite_defconfig           |  1 +
 configs/mx6sabreauto_defconfig            |  1 +
 configs/mx6sabresd_defconfig              |  1 +
 configs/mx6slevk_defconfig                |  1 +
 configs/mx6slevk_spinor_defconfig         |  1 +
 configs/mx6slevk_spl_defconfig            |  1 +
 configs/mx6sllevk_defconfig               |  1 +
 configs/mx6sllevk_plugin_defconfig        |  1 +
 configs/mx6sxsabreauto_defconfig          |  1 +
 configs/mx6sxsabresd_defconfig            |  1 +
 configs/mx6sxsabresd_spl_defconfig        |  1 +
 configs/mx6ul_14x14_evk_defconfig         |  1 +
 configs/mx6ul_9x9_evk_defconfig           |  1 +
 configs/mx6ull_14x14_evk_defconfig        |  1 +
 configs/mx6ull_14x14_evk_plugin_defconfig |  1 +
 configs/mx7dsabresd_defconfig             |  1 +
 configs/mx7dsabresd_qspi_defconfig        |  1 +
 configs/mx7ulp_evk_defconfig              |  1 +
 configs/mx7ulp_evk_plugin_defconfig       |  1 +
 configs/nitrogen6dl2g_defconfig           |  1 +
 configs/nitrogen6dl_defconfig             |  1 +
 configs/nitrogen6q2g_defconfig            |  1 +
 configs/nitrogen6q_defconfig              |  1 +
 configs/nitrogen6s1g_defconfig            |  1 +
 configs/nitrogen6s_defconfig              |  1 +
 configs/novena_defconfig                  |  1 +
 configs/nyan-big_defconfig                |  1 +
 configs/odroid-xu3_defconfig              |  1 +
 configs/odroid_defconfig                  |  1 +
 configs/opos6uldev_defconfig              |  1 +
 configs/origen_defconfig                  |  1 +
 configs/ot1200_defconfig                  |  1 +
 configs/ot1200_spl_defconfig              |  1 +
 configs/p2371-0000_defconfig              |  1 +
 configs/p2371-2180_defconfig              |  1 +
 configs/p2571_defconfig                   |  1 +
 configs/p2771-0000-000_defconfig          |  1 +
 configs/p2771-0000-500_defconfig          |  1 +
 configs/paz00_defconfig                   |  1 +
 configs/pcm058_defconfig                  |  1 +
 configs/peach-pi_defconfig                |  1 +
 configs/peach-pit_defconfig               |  1 +
 configs/pfla02_defconfig                  |  1 +
 configs/phycore-rk3288_defconfig          |  1 +
 configs/pico-hobbit-imx6ul_defconfig      |  1 +
 configs/pico-hobbit-imx7d_defconfig       |  1 +
 configs/pico-imx6ul_defconfig             |  1 +
 configs/pico-imx7d_defconfig              |  1 +
 configs/pico-pi-imx6ul_defconfig          |  1 +
 configs/pico-pi-imx7d_defconfig           |  1 +
 configs/platinum_picon_defconfig          |  1 +
 configs/platinum_titanium_defconfig       |  1 +
 configs/plutux_defconfig                  |  1 +
 configs/poplar_defconfig                  |  1 +
 configs/popmetal-rk3288_defconfig         |  1 +
 configs/puma-rk3399_defconfig             |  1 +
 configs/riotboard_defconfig               |  1 +
 configs/rock2_defconfig                   |  1 +
 configs/rock_defconfig                    |  1 +
 configs/s5pc210_universal_defconfig       |  1 +
 configs/sansa_fuze_plus_defconfig         |  1 +
 configs/sc_sps_1_defconfig                |  1 +
 configs/seaboard_defconfig                |  1 +
 configs/secomx6quq7_defconfig             |  1 +
 configs/sheep-rk3368_defconfig            |  1 +
 configs/sksimx6_defconfig                 |  1 +
 configs/smdk5250_defconfig                |  1 +
 configs/smdk5420_defconfig                |  1 +
 configs/smdkv310_defconfig                |  1 +
 configs/snow_defconfig                    |  1 +
 configs/socfpga_arria10_defconfig         |  1 +
 configs/socfpga_arria5_defconfig          |  1 +
 configs/socfpga_cyclone5_defconfig        |  1 +
 configs/socfpga_dbm_soc1_defconfig        |  1 +
 configs/socfpga_de0_nano_soc_defconfig    |  1 +
 configs/socfpga_de10_nano_defconfig       |  1 +
 configs/socfpga_de1_soc_defconfig         |  1 +
 configs/socfpga_sockit_defconfig          |  1 +
 configs/socfpga_socrates_defconfig        |  1 +
 configs/socfpga_sr1500_defconfig          |  1 +
 configs/socfpga_stratix10_defconfig       |  1 +
 configs/socfpga_vining_fpga_defconfig     |  1 +
 configs/spring_defconfig                  |  1 +
 configs/tbs2910_defconfig                 |  1 +
 configs/tec-ng_defconfig                  |  1 +
 configs/tec_defconfig                     |  1 +
 configs/tinker-rk3288_defconfig           |  1 +
 configs/titanium_defconfig                |  1 +
 configs/tqma6dl_mba6_mmc_defconfig        |  1 +
 configs/tqma6dl_mba6_spi_defconfig        |  1 +
 configs/tqma6q_mba6_mmc_defconfig         |  1 +
 configs/tqma6q_mba6_spi_defconfig         |  1 +
 configs/tqma6s_mba6_mmc_defconfig         |  1 +
 configs/tqma6s_mba6_spi_defconfig         |  1 +
 configs/tqma6s_wru4_mmc_defconfig         |  1 +
 configs/trats2_defconfig                  |  1 +
 configs/trats_defconfig                   |  1 +
 configs/trimslice_defconfig               |  1 +
 configs/ts4600_defconfig                  |  1 +
 configs/udoo_defconfig                    |  1 +
 configs/udoo_neo_defconfig                |  1 +
 configs/venice2_defconfig                 |  1 +
 configs/ventana_defconfig                 |  1 +
 configs/vining_2000_defconfig             |  1 +
 configs/vyasa-rk3288_defconfig            |  1 +
 configs/wandboard_defconfig               |  1 +
 configs/warp7_bl33_defconfig              |  1 +
 configs/warp7_defconfig                   |  1 +
 configs/warp_defconfig                    |  1 +
 configs/xfi3_defconfig                    |  1 +
 configs/xpress_defconfig                  |  1 +
 configs/xpress_spl_defconfig              |  1 +
 configs/zc5202_defconfig                  |  1 +
 configs/zc5601_defconfig                  |  1 +
 drivers/mmc/Kconfig                       |  3 +++
 include/configs/axs10x.h                  |  5 -----
 include/configs/bcm_ep_board.h            |  3 ---
 include/configs/emsdp.h                   |  3 ---
 include/configs/exynos-common.h           |  3 ---
 include/configs/hikey.h                   |  3 ---
 include/configs/hsdk.h                    |  5 -----
 include/configs/iot_devkit.h              |  3 ---
 include/configs/mx6_common.h              |  1 -
 include/configs/mx7_common.h              |  1 -
 include/configs/mx7ulp_evk.h              |  1 -
 include/configs/mxs.h                     |  5 -----
 include/configs/poplar.h                  |  3 ---
 include/configs/rk3036_common.h           |  3 ---
 include/configs/rk3128_common.h           |  3 ---
 include/configs/rk3188_common.h           |  3 ---
 include/configs/rk322x_common.h           |  3 ---
 include/configs/rk3288_common.h           |  3 ---
 include/configs/rk3328_common.h           |  4 ----
 include/configs/rk3368_common.h           |  2 --
 include/configs/rk3399_common.h           |  1 -
 include/configs/rv1108_common.h           |  3 ---
 include/configs/socfpga_common.h          |  1 -
 include/configs/socfpga_stratix10_socdk.h |  1 -
 include/configs/tegra-common.h            |  3 ---
 scripts/config_whitelist.txt              |  1 -
 232 files changed, 220 insertions(+), 67 deletions(-)
Signature · 1 line
2.1.4
#1 lore raw

PATCH v3 1/5 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; successive commits will introduce individual dependencies for drivers and then undo some of the changes to the defconfig files.

---

Changes in v3: None
Changes in v2:
- address sequencing of changes to ensure that tree remains buildable after each individual patch is applied
- extended help message in Kconfig to explicitly note that bounce buffers can be used to have properly aligned buffers

 common/Kconfig                            | 11 +++++++++++
 configs/apalis-tk1_defconfig              |  1 +
 configs/apalis_imx6_defconfig             |  1 +
 configs/apalis_imx6_nospl_com_defconfig   |  1 +
 configs/apalis_imx6_nospl_it_defconfig    |  1 +
 configs/apalis_t30_defconfig              |  1 +
 configs/apx4devkit_defconfig              |  1 +
 configs/aristainetos2_defconfig           |  1 +
 configs/aristainetos2b_defconfig          |  1 +
 configs/aristainetos_defconfig            |  1 +
 configs/arndale_defconfig                 |  1 +
 configs/bcm911360_entphn-ns_defconfig     |  1 +
 configs/bcm911360_entphn_defconfig        |  1 +
 configs/bcm911360k_defconfig              |  1 +
 configs/bcm958300k-ns_defconfig           |  1 +
 configs/bcm958300k_defconfig              |  1 +
 configs/bcm958305k_defconfig              |  1 +
 configs/bcm958622hr_defconfig             |  1 +
 configs/beaver_defconfig                  |  1 +
 configs/cardhu_defconfig                  |  1 +
 configs/cei-tk1-som_defconfig             |  1 +
 configs/cgtqmx6eval_defconfig             |  1 +
 configs/chromebit_mickey_defconfig        |  1 +
 configs/chromebook_jerry_defconfig        |  1 +
 configs/chromebook_minnie_defconfig       |  1 +
 configs/cl-som-imx7_defconfig             |  1 +
 configs/cm_fx6_defconfig                  |  1 +
 configs/colibri-imx6ull_defconfig         |  1 +
 configs/colibri_imx6_defconfig            |  1 +
 configs/colibri_imx6_nospl_defconfig      |  1 +
 configs/colibri_imx7_defconfig            |  1 +
 configs/colibri_t20_defconfig             |  1 +
 configs/colibri_t30_defconfig             |  1 +
 configs/dalmore_defconfig                 |  1 +
 configs/dh_imx6_defconfig                 |  1 +
 configs/display5_defconfig                |  1 +
 configs/display5_factory_defconfig        |  1 +
 configs/dms-ba16-1g_defconfig             |  1 +
 configs/dms-ba16_defconfig                |  1 +
 configs/e2220-1170_defconfig              |  1 +
 configs/evb-px5_defconfig                 |  1 +
 configs/evb-rk3036_defconfig              |  1 +
 configs/evb-rk3128_defconfig              |  1 +
 configs/evb-rk3229_defconfig              |  1 +
 configs/evb-rk3288_defconfig              |  1 +
 configs/evb-rk3328_defconfig              |  1 +
 configs/evb-rk3399_defconfig              |  1 +
 configs/fennec-rk3288_defconfig           |  1 +
 configs/firefly-rk3288_defconfig          |  1 +
 configs/firefly-rk3399_defconfig          |  1 +
 configs/ge_bx50v3_defconfig               |  1 +
 configs/geekbox_defconfig                 |  1 +
 configs/gwventana_emmc_defconfig          |  1 +
 configs/gwventana_gw5904_defconfig        |  1 +
 configs/gwventana_nand_defconfig          |  1 +
 configs/harmony_defconfig                 |  1 +
 configs/hikey_defconfig                   |  1 +
 configs/imx6dl_icore_nand_defconfig       |  1 +
 configs/imx6dl_mamoj_defconfig            |  1 +
 configs/imx6q_icore_nand_defconfig        |  1 +
 configs/imx6q_logic_defconfig             |  1 +
 configs/imx6qdl_icore_mipi_defconfig      |  1 +
 configs/imx6qdl_icore_mmc_defconfig       |  1 +
 configs/imx6qdl_icore_nand_defconfig      |  1 +
 configs/imx6qdl_icore_rqs_defconfig       |  1 +
 configs/imx6ul_geam_mmc_defconfig         |  1 +
 configs/imx6ul_geam_nand_defconfig        |  1 +
 configs/imx6ul_isiot_emmc_defconfig       |  1 +
 configs/imx6ul_isiot_nand_defconfig       |  1 +
 configs/jetson-tk1_defconfig              |  1 +
 configs/kp_imx6q_tpc_defconfig            |  1 +
 configs/kylin-rk3036_defconfig            |  1 +
 configs/lion-rk3368_defconfig             |  1 +
 configs/liteboard_defconfig               |  1 +
 configs/marsboard_defconfig               |  1 +
 configs/mccmon6_nor_defconfig             |  1 +
 configs/mccmon6_sd_defconfig              |  1 +
 configs/medcom-wide_defconfig             |  1 +
 configs/miqi-rk3288_defconfig             |  1 +
 configs/mx23_olinuxino_defconfig          |  1 +
 configs/mx23evk_defconfig                 |  1 +
 configs/mx28evk_auart_console_defconfig   |  1 +
 configs/mx28evk_defconfig                 |  1 +
 configs/mx28evk_nand_defconfig            |  1 +
 configs/mx28evk_spi_defconfig             |  1 +
 configs/mx6cuboxi_defconfig               |  1 +
 configs/mx6dlarm2_defconfig               |  1 +
 configs/mx6dlarm2_lpddr2_defconfig        |  1 +
 configs/mx6memcal_defconfig               |  1 +
 configs/mx6qarm2_defconfig                |  1 +
 configs/mx6qarm2_lpddr2_defconfig         |  1 +
 configs/mx6qsabrelite_defconfig           |  1 +
 configs/mx6sabreauto_defconfig            |  1 +
 configs/mx6sabresd_defconfig              |  1 +
 configs/mx6slevk_defconfig                |  1 +
 configs/mx6slevk_spinor_defconfig         |  1 +
 configs/mx6slevk_spl_defconfig            |  1 +
 configs/mx6sllevk_defconfig               |  1 +
 configs/mx6sllevk_plugin_defconfig        |  1 +
 configs/mx6sxsabreauto_defconfig          |  1 +
 configs/mx6sxsabresd_defconfig            |  1 +
 configs/mx6sxsabresd_spl_defconfig        |  1 +
 configs/mx6ul_14x14_evk_defconfig         |  1 +
 configs/mx6ul_9x9_evk_defconfig           |  1 +
 configs/mx6ull_14x14_evk_defconfig        |  1 +
 configs/mx6ull_14x14_evk_plugin_defconfig |  1 +
 configs/mx7dsabresd_defconfig             |  1 +
 configs/mx7dsabresd_qspi_defconfig        |  1 +
 configs/mx7ulp_evk_defconfig              |  1 +
 configs/mx7ulp_evk_plugin_defconfig       |  1 +
 configs/nitrogen6dl2g_defconfig           |  1 +
 configs/nitrogen6dl_defconfig             |  1 +
 configs/nitrogen6q2g_defconfig            |  1 +
 configs/nitrogen6q_defconfig              |  1 +
 configs/nitrogen6s1g_defconfig            |  1 +
 configs/nitrogen6s_defconfig              |  1 +
 configs/novena_defconfig                  |  1 +
 configs/nyan-big_defconfig                |  1 +
 configs/odroid-xu3_defconfig              |  1 +
 configs/odroid_defconfig                  |  1 +
 configs/opos6uldev_defconfig              |  1 +
 configs/origen_defconfig                  |  1 +
 configs/ot1200_defconfig                  |  1 +
 configs/ot1200_spl_defconfig              |  1 +
 configs/p2371-0000_defconfig              |  1 +
 configs/p2371-2180_defconfig              |  1 +
 configs/p2571_defconfig                   |  1 +
 configs/p2771-0000-000_defconfig          |  1 +
 configs/p2771-0000-500_defconfig          |  1 +
 configs/paz00_defconfig                   |  1 +
 configs/pcm058_defconfig                  |  1 +
 configs/peach-pi_defconfig                |  1 +
 configs/peach-pit_defconfig               |  1 +
 configs/pfla02_defconfig                  |  1 +
 configs/phycore-rk3288_defconfig          |  1 +
 configs/pico-hobbit-imx6ul_defconfig      |  1 +
 configs/pico-hobbit-imx7d_defconfig       |  1 +
 configs/pico-imx6ul_defconfig             |  1 +
 configs/pico-imx7d_defconfig              |  1 +
 configs/pico-pi-imx6ul_defconfig          |  1 +
 configs/pico-pi-imx7d_defconfig           |  1 +
 configs/platinum_picon_defconfig          |  1 +
 configs/platinum_titanium_defconfig       |  1 +
 configs/plutux_defconfig                  |  1 +
 configs/poplar_defconfig                  |  1 +
 configs/popmetal-rk3288_defconfig         |  1 +
 configs/puma-rk3399_defconfig             |  1 +
 configs/riotboard_defconfig               |  1 +
 configs/rock2_defconfig                   |  1 +
 configs/rock_defconfig                    |  1 +
 configs/s5pc210_universal_defconfig       |  1 +
 configs/sansa_fuze_plus_defconfig         |  1 +
 configs/sc_sps_1_defconfig                |  1 +
 configs/seaboard_defconfig                |  1 +
 configs/secomx6quq7_defconfig             |  1 +
 configs/sheep-rk3368_defconfig            |  1 +
 configs/sksimx6_defconfig                 |  1 +
 configs/smdk5250_defconfig                |  1 +
 configs/smdk5420_defconfig                |  1 +
 configs/smdkv310_defconfig                |  1 +
 configs/snow_defconfig                    |  1 +
 configs/socfpga_arria10_defconfig         |  1 +
 configs/socfpga_arria5_defconfig          |  1 +
 configs/socfpga_cyclone5_defconfig        |  1 +
 configs/socfpga_dbm_soc1_defconfig        |  1 +
 configs/socfpga_de0_nano_soc_defconfig    |  1 +
 configs/socfpga_de10_nano_defconfig       |  1 +
 configs/socfpga_de1_soc_defconfig         |  1 +
 configs/socfpga_sockit_defconfig          |  1 +
 configs/socfpga_socrates_defconfig        |  1 +
 configs/socfpga_sr1500_defconfig          |  1 +
 configs/socfpga_stratix10_defconfig       |  1 +
 configs/socfpga_vining_fpga_defconfig     |  1 +
 configs/spring_defconfig                  |  1 +
 configs/tbs2910_defconfig                 |  1 +
 configs/tec-ng_defconfig                  |  1 +
 configs/tec_defconfig                     |  1 +
 configs/tinker-rk3288_defconfig           |  1 +
 configs/titanium_defconfig                |  1 +
 configs/tqma6dl_mba6_mmc_defconfig        |  1 +
 configs/tqma6dl_mba6_spi_defconfig        |  1 +
 configs/tqma6q_mba6_mmc_defconfig         |  1 +
 configs/tqma6q_mba6_spi_defconfig         |  1 +
 configs/tqma6s_mba6_mmc_defconfig         |  1 +
 configs/tqma6s_mba6_spi_defconfig         |  1 +
 configs/tqma6s_wru4_mmc_defconfig         |  1 +
 configs/trats2_defconfig                  |  1 +
 configs/trats_defconfig                   |  1 +
 configs/trimslice_defconfig               |  1 +
 configs/ts4600_defconfig                  |  1 +
 configs/udoo_defconfig                    |  1 +
 configs/udoo_neo_defconfig                |  1 +
 configs/venice2_defconfig                 |  1 +
 configs/ventana_defconfig                 |  1 +
 configs/vining_2000_defconfig             |  1 +
 configs/vyasa-rk3288_defconfig            |  1 +
 configs/wandboard_defconfig               |  1 +
 configs/warp7_bl33_defconfig              |  1 +
 configs/warp7_defconfig                   |  1 +
 configs/warp_defconfig                    |  1 +
 configs/xfi3_defconfig                    |  1 +
 configs/xpress_defconfig                  |  1 +
 configs/xpress_spl_defconfig              |  1 +
 configs/zc5202_defconfig                  |  1 +
 configs/zc5601_defconfig                  |  1 +
 include/configs/axs10x.h                  |  1 -
 include/configs/bcm_ep_board.h            |  3 ---
 include/configs/emsdp.h                   |  1 -
 include/configs/exynos-common.h           |  1 -
 include/configs/hikey.h                   |  1 -
 include/configs/hsdk.h                    |  1 -
 include/configs/iot_devkit.h              |  1 -
 include/configs/mx6_common.h              |  1 -
 include/configs/mx7_common.h              |  1 -
 include/configs/mx7ulp_evk.h              |  1 -
 include/configs/mxs.h                     |  3 ---
 include/configs/poplar.h                  |  1 -
 include/configs/rk3036_common.h           |  1 -
 include/configs/rk3128_common.h           |  1 -
 include/configs/rk3188_common.h           |  1 -
 include/configs/rk322x_common.h           |  1 -
 include/configs/rk3288_common.h           |  1 -
 include/configs/rk3328_common.h           |  1 -
 include/configs/rk3368_common.h           |  2 --
 include/configs/rk3399_common.h           |  1 -
 include/configs/socfpga_common.h          |  1 -
 include/configs/socfpga_stratix10_socdk.h |  1 -
 include/configs/tegra-common.h            |  1 -
 scripts/config_whitelist.txt              |  1 -
 229 files changed, 215 insertions(+), 29 deletions(-)
common/Kconfig +11 -0
index 57bd16d..5bbd00a 100644
@@ -645,6 +645,17 @@ config DISPLAY_BOARDINFO_LATE
 	  the relocation phase. The board function checkboard() is called to do
 	  this.
 
+config BOUNCE_BUFFER
+	bool "Include bounce buffer API"
+	help
+	  Some peripherals support DMA from a subset of physically
+	  addressable memory only.  To support such peripherals, the
+	  bounce buffer API uses a temporary buffer: it copies data
+	  to/from DMA regions while managing cache operations.
+
+	  A second possible use of bounce buffers is their ability to
+	  provide aligned buffers for DMA operations.
+
 menu "Start-up hooks"
 
 config ARCH_EARLY_INIT_R
configs/apalis-tk1_defconfig +1 -0
index 83721b4..9f7299c 100644
@@ -13,6 +13,7 @@ CONFIG_SYS_STDIO_DEREGISTER=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Apalis TK1 # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/apalis_imx6_defconfig +1 -0
index 133fc1a..a88b8e2 100644
@@ -19,6 +19,7 @@ CONFIG_MISC_INIT_R=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/apalis_imx6_nospl_com_defconfig +1 -0
index 6e72422..39fee49 100644
@@ -14,6 +14,7 @@ CONFIG_MISC_INIT_R=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Apalis iMX6 # "
configs/apalis_imx6_nospl_it_defconfig +1 -0
index bc04aab..d5424ea 100644
@@ -14,6 +14,7 @@ CONFIG_MISC_INIT_R=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Apalis iMX6 # "
configs/apalis_t30_defconfig +1 -0
index 0e6547b..35b04da 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_SYS_PROMPT="Apalis T30 # "
 # CONFIG_CMD_IMI is not set
configs/apx4devkit_defconfig +1 -0
index baca2a6..6a369a4 100644
@@ -11,6 +11,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_BOOTDELAY=1
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_SPL_FRAMEWORK is not set
configs/aristainetos2_defconfig +1 -0
index db50086..f7de4e3 100644
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/aristainetos2b_defconfig +1 -0
index 9a5843b..ff21f1f 100644
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/aristainetos_defconfig +1 -0
index 4261122..950f9f6 100644
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/arndale_defconfig +1 -0
index 2b6af4b..d36b2a2 100644
@@ -11,6 +11,7 @@ CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="ARNDALE # "
 CONFIG_CMD_GPIO=y
configs/bcm911360_entphn-ns_defconfig +1 -0
index 7e4920f..be8a90e 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x20000000,ARMV7_NONSEC"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
 CONFIG_CMD_BOOTZ=y
configs/bcm911360_entphn_defconfig +1 -0
index a7c6475..ba81847 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x20000000"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
 CONFIG_CMD_BOOTZ=y
configs/bcm911360k_defconfig +1 -0
index 349f2b8..132234c 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
 CONFIG_CMD_BOOTZ=y
configs/bcm958300k-ns_defconfig +1 -0
index fd0da02..d95ef15 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000,ARMV7_NONSEC"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
 CONFIG_CMD_BOOTZ=y
configs/bcm958300k_defconfig +1 -0
index 349f2b8..132234c 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
 CONFIG_CMD_BOOTZ=y
configs/bcm958305k_defconfig +1 -0
index 349f2b8..132234c 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
 CONFIG_CMD_BOOTZ=y
configs/bcm958622hr_defconfig +1 -0
index 74d9f25..d5cb7f6 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x01000000"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
 CONFIG_CMD_BOOTZ=y
configs/beaver_defconfig +1 -0
index 28cb04c..1d8c02b 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra30 (Beaver) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/cardhu_defconfig +1 -0
index c046ef5..a770f80 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra30 (Cardhu) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/cei-tk1-som_defconfig +1 -0
index c782fef..e9ee667 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra124 (TK1-SOM) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/cgtqmx6eval_defconfig +1 -0
index 015bab0..7f4c8de 100644
@@ -19,6 +19,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/chromebit_mickey_defconfig +1 -0
index 79ab6ac..11969f4 100644
@@ -16,6 +16,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEFAULT_FDT_FILE="rk3288-veyron-mickey.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_SPL_SPI_LOAD=y
configs/chromebook_jerry_defconfig +1 -0
index d892d65..21b4bd7 100644
@@ -17,6 +17,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-veyron-jerry.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
configs/chromebook_minnie_defconfig +1 -0
index b042874..f1636c4 100644
@@ -17,6 +17,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-veyron-minnie.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_SPL_SPI_LOAD=y
configs/cl-som-imx7_defconfig +1 -0
index 0eed526..3114e08 100644
@@ -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
configs/cm_fx6_defconfig +1 -0
index 4ec74b2..ae4b021 100644
@@ -19,6 +19,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd; run legacy_bootcmd"
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x80
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_SPI_LOAD=y
configs/colibri-imx6ull_defconfig +1 -0
index c26b3b9..826cf70 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="Colibri iMX6ULL # "
 # CONFIG_CMD_IMI is not set
configs/colibri_imx6_defconfig +1 -0
index d86c087..e46c177 100644
@@ -19,6 +19,7 @@ CONFIG_MISC_INIT_R=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/colibri_imx6_nospl_defconfig +1 -0
index 2ed42b5..bc8a4a2 100644
@@ -14,6 +14,7 @@ CONFIG_MISC_INIT_R=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Colibri iMX6 # "
configs/colibri_imx7_defconfig +1 -0
index 7b496bc..5a49623 100644
@@ -13,6 +13,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Colibri iMX7 # "
 # CONFIG_CMD_BOOTD is not set
configs/colibri_t20_defconfig +1 -0
index 43528ef..9c9ef0f 100644
@@ -8,6 +8,7 @@ CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_SYS_STDIO_DEREGISTER=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_SYS_PROMPT="Colibri T20 # "
 # CONFIG_CMD_IMI is not set
configs/colibri_t30_defconfig +1 -0
index c8b82a9..b5f73eb 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_SYS_PROMPT="Colibri T30 # "
 # CONFIG_CMD_IMI is not set
configs/dalmore_defconfig +1 -0
index 9c08aad..af04ba7 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra114 (Dalmore) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/dh_imx6_defconfig +1 -0
index 92b2377..69035df 100644
@@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/display5_defconfig +1 -0
index e6162e3..86ddc26 100644
@@ -18,6 +18,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6Q"
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_BOOTCOUNT_LIMIT=y
 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
 CONFIG_SPL_DMA_SUPPORT=y
configs/display5_factory_defconfig +1 -0
index 6ef85e2..cbc593e 100644
@@ -18,6 +18,7 @@ CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="echo SDP Display5 recovery"
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
 CONFIG_SPL_DMA_SUPPORT=y
configs/dms-ba16-1g_defconfig +1 -0
index 49dc3f0..a2f4395 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6q-dms-ba16.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/dms-ba16_defconfig +1 -0
index 9b48f03..2784c12 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6q-dms-ba16.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/e2220-1170_defconfig +1 -0
index 89035a0..5d8fa57 100644
@@ -6,6 +6,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra210 (E2220-1170) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/evb-px5_defconfig +1 -0
index c3bda3b..c30a286 100644
@@ -12,6 +12,7 @@ CONFIG_ANDROID_BOOT_IMAGE=y
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3368-px5-evb.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_EARLY_INIT_R=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_CACHE=y
configs/evb-rk3036_defconfig +1 -0
index 787d6f9..2cd5046 100644
@@ -16,6 +16,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEFAULT_FDT_FILE="rk3036-evb.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_CMD_GPT=y
configs/evb-rk3128_defconfig +1 -0
index 044e607..b6755e6 100644
@@ -10,6 +10,7 @@ CONFIG_FIT=y
 CONFIG_DEFAULT_FDT_FILE="rk3128-evb.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/evb-rk3229_defconfig +1 -0
index 0cc92a3..3ce6a60 100644
@@ -15,6 +15,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_DEFAULT_FDT_FILE="rk3229-evb.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200
 CONFIG_CMD_GPT=y
configs/evb-rk3288_defconfig +1 -0
index 1485844..8e7db94 100644
@@ -15,6 +15,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-evb-rk808.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_CMD_GPIO=y
configs/evb-rk3328_defconfig +1 -0
index 5b3bb8e..19031d2 100644
@@ -11,6 +11,7 @@ CONFIG_FIT=y
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3328-evb.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/evb-rk3399_defconfig +1 -0
index f173c10..b8f418b 100644
@@ -17,6 +17,7 @@ CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py"
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-evb.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x4000
 CONFIG_SPL_ATF=y
configs/fennec-rk3288_defconfig +1 -0
index 8860edf..bf9e082 100644
@@ -16,6 +16,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-fennec.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_CMD_GPIO=y
configs/firefly-rk3288_defconfig +1 -0
index b0db15d..7dfb5f4 100644
@@ -15,6 +15,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-firefly.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_CMD_GPIO=y
configs/firefly-rk3399_defconfig +1 -0
index 7ac4064..e988781 100644
@@ -17,6 +17,7 @@ CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py"
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-firefly.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x4000
 CONFIG_SPL_ATF=y
configs/ge_bx50v3_defconfig +1 -0
index c907779..0e79f35 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_LAST_STAGE_INIT=y
 CONFIG_HUSH_PARSER=y
configs/geekbox_defconfig +1 -0
index bbf7b00..884c5fe 100644
@@ -11,6 +11,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3368-geekbox.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_DEFAULT_DEVICE_TREE="rk3368-geekbox"
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
configs/gwventana_emmc_defconfig +1 -0
index eb7614a..f95957a 100644
@@ -22,6 +22,7 @@ CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_STACK_R=y
configs/gwventana_gw5904_defconfig +1 -0
index e240876..219d31a 100644
@@ -22,6 +22,7 @@ CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_STACK_R=y
configs/gwventana_nand_defconfig +1 -0
index 83690f5..466a775 100644
@@ -22,6 +22,7 @@ CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_STACK_R=y
configs/harmony_defconfig +1 -0
index 8e99fe7..dc807c1 100644
@@ -6,6 +6,7 @@ CONFIG_TARGET_HARMONY=y
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (Harmony) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/hikey_defconfig +1 -0
index 8dc5a28..eac1cf2 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTARGS="console=ttyAMA0,115200n8 root=/dev/mmcblk0p9 rw"
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MMC=y
configs/imx6dl_icore_nand_defconfig +1 -0
index a8b1a7d..c34c515 100644
@@ -15,6 +15,7 @@ CONFIG_FIT_VERBOSE=y
 CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/imx6dl_mamoj_defconfig +1 -0
index a7c5c36..f3661c0 100644
@@ -9,6 +9,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MEMTEST=y
configs/imx6q_icore_nand_defconfig +1 -0
index 74c6584..cf149d6 100644
@@ -16,6 +16,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/imx6q_logic_defconfig +1 -0
index 036069a..94f11df 100644
@@ -17,6 +17,7 @@ CONFIG_BOOTDELAY=3
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SPL_DMA_SUPPORT=y
configs/imx6qdl_icore_mipi_defconfig +1 -0
index 589bf06..7a0e516 100644
@@ -22,6 +22,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/imx6qdl_icore_mmc_defconfig +1 -0
index b8c2dee..f22e5ea 100644
@@ -22,6 +22,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/imx6qdl_icore_nand_defconfig +1 -0
index 74c6584..cf149d6 100644
@@ -16,6 +16,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/imx6qdl_icore_rqs_defconfig +1 -0
index a2f2772..a476606 100644
@@ -19,6 +19,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/imx6ul_geam_mmc_defconfig +1 -0
index b684638..8a7f41b 100644
@@ -18,6 +18,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="geam6ul> "
configs/imx6ul_geam_nand_defconfig +1 -0
index f334257..bf61f76 100644
@@ -16,6 +16,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/imx6ul_isiot_emmc_defconfig +1 -0
index d13082b..abf1a93 100644
@@ -18,6 +18,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="isiotmx6ul> "
configs/imx6ul_isiot_nand_defconfig +1 -0
index 1c5e7d3..8961661 100644
@@ -16,6 +16,7 @@ CONFIG_IMAGE_FORMAT_LEGACY=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/jetson-tk1_defconfig +1 -0
index 76f3376..1581a88 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra124 (Jetson TK1) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/kp_imx6q_tpc_defconfig +1 -0
index 5ebbe1d..7f766aa 100644
@@ -16,6 +16,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_RAW_IMAGE_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_AUTOBOOT_KEYED=y
configs/kylin-rk3036_defconfig +1 -0
index eb305e0..aca4038 100644
@@ -13,6 +13,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEFAULT_FDT_FILE="rk3036-kylin.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_CMD_GPT=y
configs/lion-rk3368_defconfig +1 -0
index 2b61922..f6b5017 100644
@@ -30,6 +30,7 @@ CONFIG_BOOTSTAGE_FDT=y
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3368-lion-haikou.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_EARLY_INIT_R=y
 CONFIG_SPL_BOOTROM_SUPPORT=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
configs/liteboard_defconfig +1 -0
index bdc99b0..61ba4ea 100644
@@ -13,6 +13,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=1
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6ul-liteboard.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
configs/marsboard_defconfig +1 -0
index 1bc8894..988cffa 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTCOMMAND="run finduuid; run distro_bootcmd"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
configs/mccmon6_nor_defconfig +1 -0
index 69fab7c..177e72f 100644
@@ -11,6 +11,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/liebherr/mccmon6/mon6_imximage_nor.cfg"
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_NOR_SUPPORT=y
configs/mccmon6_sd_defconfig +1 -0
index 05c6572..3dfb7ac 100644
@@ -12,6 +12,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/liebherr/mccmon6/mon6_imximage_sd.cfg"
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_NOR_SUPPORT=y
configs/medcom-wide_defconfig +1 -0
index c2cd298..49920ff 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_FIT=y
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (Medcom-Wide) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/miqi-rk3288_defconfig +1 -0
index f650a72..195bcc1 100644
@@ -15,6 +15,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-miqi.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_CMD_GPIO=y
configs/mx23_olinuxino_defconfig +1 -0
index 2eee19d..e0e9635 100644
@@ -11,6 +11,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_HUSH_PARSER=y
configs/mx23evk_defconfig +1 -0
index 86f4d6b..2604acd 100644
@@ -12,6 +12,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_HUSH_PARSER=y
configs/mx28evk_auart_console_defconfig +1 -0
index d057221..694c587 100644
@@ -13,6 +13,7 @@ CONFIG_SYS_EXTRA_OPTIONS="MXS_AUART,MXS_AUART_BASE=MXS_UARTAPP3_BASE"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_HUSH_PARSER=y
configs/mx28evk_defconfig +1 -0
index ab59d75..dff091b 100644
@@ -13,6 +13,7 @@ CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_HUSH_PARSER=y
configs/mx28evk_nand_defconfig +1 -0
index 6b774cf..1bcf36e 100644
@@ -12,6 +12,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_HUSH_PARSER=y
configs/mx28evk_spi_defconfig +1 -0
index 0a77e6e..0c48f90 100644
@@ -12,6 +12,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_HUSH_PARSER=y
configs/mx6cuboxi_defconfig +1 -0
index 6e73a97..ca41d06 100644
@@ -15,6 +15,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/mx6dlarm2_defconfig +1 -0
index 0c3e788..4c364bb 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qarm2/imximage_mx6dl.cfg,MX6DL,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
configs/mx6dlarm2_lpddr2_defconfig +1 -0
index 21d102e..b8a8c73 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qarm2/imximage_mx6dl.cfg,MX6DL,MX6DL_LPDDR2,DDR_MB=512"
 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
configs/mx6memcal_defconfig +1 -0
index 7356deb..3111282 100644
@@ -10,6 +10,7 @@ CONFIG_SPL=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,SPL,MX6QDL"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
 CONFIG_SPL_USB_GADGET_SUPPORT=y
 CONFIG_SPL_USB_ETHER=y
configs/mx6qarm2_defconfig +1 -0
index 2d4beab..5127e1f 100644
@@ -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
configs/mx6qarm2_lpddr2_defconfig +1 -0
index 7a900f3..1842830 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qarm2/imximage.cfg,MX6Q,MX6DQ_LPDDR2,DDR_MB=512"
 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
configs/mx6qsabrelite_defconfig +1 -0
index c73d0d3..7cc4aea 100644
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=3
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_SYS_ALT_MEMTEST=y
configs/mx6sabreauto_defconfig +1 -0
index 8856567..40386c2 100644
@@ -16,6 +16,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/mx6sabresd_defconfig +1 -0
index e0202ef..4ef9068 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
configs/mx6slevk_defconfig +1 -0
index baf5943..44cd50b 100644
@@ -6,6 +6,7 @@ CONFIG_TARGET_MX6SLEVK=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/mx6slevk_spinor_defconfig +1 -0
index c4f0d59..72212fb 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg"
 CONFIG_SPI_BOOT=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/mx6slevk_spl_defconfig +1 -0
index 4689ed7..742a643 100644
@@ -13,6 +13,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/mx6sllevk_defconfig +1 -0
index d1a7901..ec79468 100644
@@ -6,6 +6,7 @@ CONFIG_TARGET_MX6SLLEVK=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sllevk/imximage.cfg"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/mx6sllevk_plugin_defconfig +1 -0
index ac43ffa..dbd3510 100644
@@ -7,6 +7,7 @@ CONFIG_USE_IMXIMG_PLUGIN=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sllevk/imximage.cfg"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/mx6sxsabreauto_defconfig +1 -0
index 41fac12..f0954e7 100644
@@ -6,6 +6,7 @@ CONFIG_TARGET_MX6SXSABREAUTO=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabreauto/imximage.cfg"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_FLASH is not set
configs/mx6sxsabresd_defconfig +1 -0
index d04ec4f..8ee2a00 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabresd/imximage.cfg"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_FLASH is not set
configs/mx6sxsabresd_spl_defconfig +1 -0
index 4a44554..f3851b2 100644
@@ -16,6 +16,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/mx6ul_14x14_evk_defconfig +1 -0
index 607045f..a23bb8e 100644
@@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/mx6ul_9x9_evk_defconfig +1 -0
index 2c8be5f..c4061cf 100644
@@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/mx6ull_14x14_evk_defconfig +1 -0
index 0b7dcd6..59d5d12 100644
@@ -5,6 +5,7 @@ CONFIG_TARGET_MX6ULL_14X14_EVK=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6ullevk/imximage.cfg"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/mx6ull_14x14_evk_plugin_defconfig +1 -0
index 6fee83d..331f12d 100644
@@ -6,6 +6,7 @@ CONFIG_USE_IMXIMG_PLUGIN=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6ullevk/imximage.cfg"
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/mx7dsabresd_defconfig +1 -0
index 191ff3b..380b4af 100644
@@ -10,6 +10,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_BOOTD is not set
 CONFIG_CMD_BOOTZ=y
configs/mx7dsabresd_qspi_defconfig +1 -0
index 48f4068..fb176d7 100644
@@ -9,6 +9,7 @@ CONFIG_IMX_BOOTAUX=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_BOOTD is not set
 CONFIG_CMD_BOOTZ=y
configs/mx7ulp_evk_defconfig +1 -0
index b341abe..6bbacaa 100644
@@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x67800000
 CONFIG_TARGET_MX7ULP_EVK=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7ulp_evk/imximage.cfg"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MEMTEST=y
configs/mx7ulp_evk_plugin_defconfig +1 -0
index 238bf53..549ca2e 100644
@@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x67800000
 CONFIG_TARGET_MX7ULP_EVK=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7ulp_evk/imximage.cfg"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_GPIO=y
configs/nitrogen6dl2g_defconfig +1 -0
index 2f3f74f..af59a71 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/nitrogen6dl_defconfig +1 -0
index 80c9d81..9072c04 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/nitrogen6q2g_defconfig +1 -0
index 293808f..b92d27a 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/nitrogen6q_defconfig +1 -0
index 816f1c8..3b8cc6a 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/nitrogen6s1g_defconfig +1 -0
index b84291d..36cfe21 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/nitrogen6s_defconfig +1 -0
index 985eb3d..40c09d7 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/novena_defconfig +1 -0
index 7eda3ac..cf306a7 100644
@@ -21,6 +21,7 @@ CONFIG_BOOTARGS="console=ttymxc1,115200 "
 CONFIG_BOOTCOMMAND="run distro_bootcmd ; run net_nfs"
 CONFIG_MISC_INIT_R=y
 CONFIG_VERSION_VARIABLE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/nyan-big_defconfig +1 -0
index ae6d76d..1acdfa3 100644
@@ -16,6 +16,7 @@ CONFIG_BOOTSTAGE_STASH=y
 CONFIG_BOOTSTAGE_STASH_ADDR=0x83000000
 CONFIG_SYS_STDIO_DEREGISTER=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra124 (Nyan-big) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/odroid-xu3_defconfig +1 -0
index d5c7cc7..952eec7 100644
@@ -11,6 +11,7 @@ CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="ODROID-XU3 # "
 CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_DFU=y
configs/odroid_defconfig +1 -0
index 594800f..7d4f686 100644
@@ -14,6 +14,7 @@ CONFIG_BOOTARGS="Please use defined boot"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Odroid # "
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_THOR_DOWNLOAD=y
configs/opos6uldev_defconfig +1 -0
index c2c1ea7..3660eaa 100644
@@ -22,6 +22,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6ul-opos6uldev.dtb"
 CONFIG_VERSION_VARIABLE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/origen_defconfig +1 -0
index d30fa6f..0847489 100644
@@ -9,6 +9,7 @@ CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="ORIGEN # "
 # CONFIG_CMD_XIMG is not set
configs/ot1200_defconfig +1 -0
index b70f44d..2825e44 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/bachmann/ot1200/mx6q_4x_mt41j128.cfg,
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/ot1200_spl_defconfig +1 -0
index d5962e6..c8c53e8 100644
@@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_SPI_LOAD=y
configs/p2371-0000_defconfig +1 -0
index 02a7569..b23a456 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra210 (P2371-0000) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/p2371-2180_defconfig +1 -0
index d9dcf7e..727a4c7 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra210 (P2371-2180) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/p2571_defconfig +1 -0
index 5cbb1c3..094a65e 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra210 (P2571) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/p2771-0000-000_defconfig +1 -0
index 2bf2e31..465e9dd 100644
@@ -6,6 +6,7 @@ CONFIG_NR_DRAM_BANKS=8
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra186 (P2771-0000-000) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/p2771-0000-500_defconfig +1 -0
index 1e33c1f..529b64d 100644
@@ -6,6 +6,7 @@ CONFIG_NR_DRAM_BANKS=8
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra186 (P2771-0000-500) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/paz00_defconfig +1 -0
index a11e56d..2401daf 100644
@@ -6,6 +6,7 @@ CONFIG_TARGET_PAZ00=y
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (Paz00) MOD # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/pcm058_defconfig +1 -0
index 66ee9ed..9665142 100644
@@ -19,6 +19,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_EXT_SUPPORT=y
configs/peach-pi_defconfig +1 -0
index 338eae2..d0f9df4 100644
@@ -10,6 +10,7 @@ CONFIG_NR_DRAM_BANKS=7
 CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="Peach-Pi # "
 CONFIG_CMD_GPIO=y
configs/peach-pit_defconfig +1 -0
index 933c823..2a57107 100644
@@ -9,6 +9,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="Peach-Pit # "
 CONFIG_CMD_GPIO=y
configs/pfla02_defconfig +1 -0
index 18d35a1..491b4b0 100644
@@ -19,6 +19,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_EXT_SUPPORT=y
configs/phycore-rk3288_defconfig +1 -0
index ef7abdd..4cc4068 100644
@@ -16,6 +16,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-phycore-rdk.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_SPL_I2C_SUPPORT=y
configs/pico-hobbit-imx6ul_defconfig +1 -0
index 362c0a2..b9d6bfb 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx6ul-pico-hobbit.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
configs/pico-hobbit-imx7d_defconfig +1 -0
index b02cae5..a04d89b 100644
@@ -16,6 +16,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx7d-pico-hobbit.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
 CONFIG_SPL_USB_GADGET_SUPPORT=y
configs/pico-imx6ul_defconfig +1 -0
index c8d58cb..7bc737a 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="ask"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
configs/pico-imx7d_defconfig +1 -0
index f355f07..2790081 100644
@@ -16,6 +16,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="ask"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
 CONFIG_SPL_USB_GADGET_SUPPORT=y
configs/pico-pi-imx6ul_defconfig +1 -0
index 680438d..fd4f9f8 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx6ul-pico-pi.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
configs/pico-pi-imx7d_defconfig +1 -0
index 3a182dc..6b0e72f 100644
@@ -16,6 +16,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx7d-pico-pi.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
 CONFIG_SPL_USB_GADGET_SUPPORT=y
configs/platinum_picon_defconfig +1 -0
index 91487c1..21b5f12 100644
@@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6DL"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_EXT_SUPPORT=y
configs/platinum_titanium_defconfig +1 -0
index ee06306..3b99ca1 100644
@@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_EXT_SUPPORT=y
configs/plutux_defconfig +1 -0
index 7352412..64b4ade 100644
@@ -8,6 +8,7 @@ CONFIG_FIT=y
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (Plutux) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/poplar_defconfig +1 -0
index a3ae9a0..49b08a9 100644
@@ -5,6 +5,7 @@ CONFIG_IDENT_STRING="poplar"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_NR_DRAM_BANKS=2
 # CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="poplar# "
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/popmetal-rk3288_defconfig +1 -0
index 0e10d1a..a521b42 100644
@@ -16,6 +16,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-popmetal.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_CMD_GPIO=y
configs/puma-rk3399_defconfig +1 -0
index a45a34b..e83a616 100644
@@ -22,6 +22,7 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-puma-haikou.dtb"
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_BOARD_INIT=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 # CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set
configs/riotboard_defconfig +1 -0
index 1f00263..07fb98c 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTCOMMAND="run finduuid; run distro_bootcmd"
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
configs/rock2_defconfig +1 -0
index 6289506..091c176 100644
@@ -15,6 +15,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-rock2-square.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_CMD_GPIO=y
configs/rock_defconfig +1 -0
index 0c41ac9..795f150 100644
@@ -15,6 +15,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEFAULT_FDT_FILE="rk3188-radxarock.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_RANDOM_UUID=y
configs/s5pc210_universal_defconfig +1 -0
index 5f5ff16..ed423fb 100644
@@ -11,6 +11,7 @@ CONFIG_BOOTARGS="Please use defined boot"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Universal # "
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_THOR_DOWNLOAD=y
configs/sansa_fuze_plus_defconfig +1 -0
index 6d4692e..9c64c3f 100644
@@ -15,6 +15,7 @@ CONFIG_BOOTARGS="console=ttyAMA0,115200n8 "
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_SPL_FRAMEWORK is not set
configs/sc_sps_1_defconfig +1 -0
index 12387d4..d53c12c 100644
@@ -13,6 +13,7 @@ CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyAMA0,115200"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_SPL_FRAMEWORK is not set
configs/seaboard_defconfig +1 -0
index 69e159b..1cc553f 100644
@@ -5,6 +5,7 @@ CONFIG_TEGRA20=y
 CONFIG_TARGET_SEABOARD=y
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (SeaBoard) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/secomx6quq7_defconfig +1 -0
index cab9ad1..8526f05 100644
@@ -8,6 +8,7 @@ CONFIG_SECOMX6_2GB=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="SECO MX6Q uQ7 U-Boot > "
configs/sheep-rk3368_defconfig +1 -0
index 23e653d..7dd8f6d 100644
@@ -12,6 +12,7 @@ CONFIG_ANDROID_BOOT_IMAGE=y
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3368-sheep.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_CMD_MMC=y
 CONFIG_DEFAULT_DEVICE_TREE="rk3368-sheep"
 CONFIG_REGMAP=y
configs/sksimx6_defconfig +1 -0
index bd9cc73..dccece1 100644
@@ -21,6 +21,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SILENT_CONSOLE=y
 CONFIG_SILENT_U_BOOT_ONLY=y
 CONFIG_VERSION_VARIABLE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/smdk5250_defconfig +1 -0
index 161454b..e238fdc 100644
@@ -13,6 +13,7 @@ CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="SMDK5250 # "
 CONFIG_CMD_GPIO=y
configs/smdk5420_defconfig +1 -0
index 433e9a8..baf5bf3 100644
@@ -11,6 +11,7 @@ CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="SMDK5420 # "
 CONFIG_CMD_GPIO=y
configs/smdkv310_defconfig +1 -0
index 681cbf0..928937f 100644
@@ -6,6 +6,7 @@ CONFIG_SPL=y
 CONFIG_IDENT_STRING=" for SMDKC210/V310"
 CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="SMDKV310 # "
 # CONFIG_CMD_XIMG is not set
configs/snow_defconfig +1 -0
index 2108009..1327fa8 100644
@@ -15,6 +15,7 @@ CONFIG_NR_DRAM_BANKS=8
 CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="snow # "
 CONFIG_CMD_GPIO=y
configs/socfpga_arria10_defconfig +1 -0
index 6ebda81..f321a0a 100644
@@ -12,6 +12,7 @@ CONFIG_BOOTARGS="console=ttyS0,115200"
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_DEFAULT_FDT_FILE="socfpga_arria10_socdk_sdmmc.dtb"
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_FPGA_SUPPORT=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_CMD_ASKENV=y
configs/socfpga_arria5_defconfig +1 -0
index e7e1121..88dea02 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_arria5_socdk.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SPI_LOAD=y
configs/socfpga_cyclone5_defconfig +1 -0
index 8989c4d..59e56e0 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_socdk.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SPI_LOAD=y
configs/socfpga_dbm_soc1_defconfig +1 -0
index b6f4f8a..4e6a0c8 100644
@@ -15,6 +15,7 @@ CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SPI_LOAD=y
configs/socfpga_de0_nano_soc_defconfig +1 -0
index 1a9f2b6..5264aab 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_de0_nano_soc.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
configs/socfpga_de10_nano_defconfig +1 -0
index c9490d4..8e8f69a 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_de10_nano.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SPI_LOAD=y
configs/socfpga_de1_soc_defconfig +1 -0
index b6c8e6c..c44ca0a 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_de1_soc.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
configs/socfpga_sockit_defconfig +1 -0
index 66f7733..f4e5221 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_sockit.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SPI_LOAD=y
configs/socfpga_socrates_defconfig +1 -0
index 05f38cb..139edba 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_socrates.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SPI_LOAD=y
configs/socfpga_sr1500_defconfig +1 -0
index 97366cd..df59181 100644
@@ -17,6 +17,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_sr1500.dtb"
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
configs/socfpga_stratix10_defconfig +1 -0
index 5f3d733..fd2e0f7 100644
@@ -8,6 +8,7 @@ CONFIG_IDENT_STRING="socfpga_stratix10"
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_BOOTDELAY=5
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="SOCFPGA_STRATIX10 # "
configs/socfpga_vining_fpga_defconfig +1 -0
index 6fcf8c6..3dfeef2 100644
@@ -19,6 +19,7 @@ CONFIG_MISC_INIT_R=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SPI_LOAD=y
configs/spring_defconfig +1 -0
index ca17998..b31123c 100644
@@ -15,6 +15,7 @@ CONFIG_NR_DRAM_BANKS=8
 CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_SILENT_CONSOLE=y
+CONFIG_BOUNCE_BUFFER=y
 # CONFIG_SPL_FRAMEWORK is not set
 CONFIG_SYS_PROMPT="spring # "
 CONFIG_CMD_GPIO=y
configs/tbs2910_defconfig +1 -0
index 55cd9bd..9a9b0b1 100644
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_PRE_CONSOLE_BUFFER=y
 CONFIG_PRE_CON_BUF_ADDR=0x7c000000
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Matrix U-Boot> "
configs/tec-ng_defconfig +1 -0
index 65ac1c2..8d18fd9 100644
@@ -8,6 +8,7 @@ CONFIG_FIT=y
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra30 (TEC-NG) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/tec_defconfig +1 -0
index 62526a7..9327ed4 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_FIT=y
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (TEC) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/tinker-rk3288_defconfig +1 -0
index 5a69a68..b127080 100644
@@ -16,6 +16,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-tinker.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_SPL_I2C_SUPPORT=y
configs/titanium_defconfig +1 -0
index 2136176..1e19240 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/barco/titanium/imximage.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Titanium > "
configs/tqma6dl_mba6_mmc_defconfig +1 -0
index 37f161c..af72877 100644
@@ -10,6 +10,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6dl-mba6x.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/tqma6dl_mba6_spi_defconfig +1 -0
index 381d5d7..f69189b 100644
@@ -11,6 +11,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6dl-mba6x.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/tqma6q_mba6_mmc_defconfig +1 -0
index 0db49b7..744547b 100644
@@ -9,6 +9,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6q-mba6x.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/tqma6q_mba6_spi_defconfig +1 -0
index fbad8ba..c99301e 100644
@@ -10,6 +10,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6q-mba6x.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/tqma6s_mba6_mmc_defconfig +1 -0
index 9bfb08f..8d5f54c 100644
@@ -10,6 +10,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6dl-mba6x.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/tqma6s_mba6_spi_defconfig +1 -0
index 9168fdc..3470a78 100644
@@ -11,6 +11,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6dl-mba6x.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/tqma6s_wru4_mmc_defconfig +1 -0
index c1be704..1a95973 100644
@@ -12,6 +12,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_DEFAULT_FDT_FILE="imx6s-wru4.dtb"
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_AUTOBOOT_KEYED=y
configs/trats2_defconfig +1 -0
index 6d00ce3..05e381f 100644
@@ -13,6 +13,7 @@ CONFIG_BOOTARGS="Please use defined boot"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Trats2 # "
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_THOR_DOWNLOAD=y
configs/trats_defconfig +1 -0
index 1c440ce..7c5b3d7 100644
@@ -12,6 +12,7 @@ CONFIG_BOOTARGS="Please use defined boot"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_MISC_INIT_R=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Trats # "
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_THOR_DOWNLOAD=y
configs/trimslice_defconfig +1 -0
index 6dfb3fb..715ab88 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (TrimSlice) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/ts4600_defconfig +1 -0
index 8062532..63112c4 100644
@@ -9,6 +9,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_SPL_FRAMEWORK is not set
configs/udoo_defconfig +1 -0
index c9a860c..0f0b786 100644
@@ -14,6 +14,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/udoo_neo_defconfig +1 -0
index de0e037..b698fb7 100644
@@ -14,6 +14,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_EXT_SUPPORT=y
configs/venice2_defconfig +1 -0
index 1204318..2fbaed4 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_STDIO_DEREGISTER=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra124 (Venice2) # "
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_DFU=y
configs/ventana_defconfig +1 -0
index a7c8bcd..019bd43 100644
@@ -5,6 +5,7 @@ CONFIG_TEGRA20=y
 CONFIG_TARGET_VENTANA=y
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_SYSTEM_SETUP=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SYS_PROMPT="Tegra20 (Ventana) # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_FLASH is not set
configs/vining_2000_defconfig +1 -0
index 019f79c..1f452c1 100644
@@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/samtec/vining_2000/imximage.cfg"
 CONFIG_BOOTDELAY=0
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/vyasa-rk3288_defconfig +1 -0
index b23cd6a..fb8a32e 100644
@@ -15,6 +15,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_DEFAULT_FDT_FILE="rk3288-vyasa.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
 CONFIG_CMD_GPIO=y
configs/wandboard_defconfig +1 -0
index 4d8ccff..b381aa5 100644
@@ -19,6 +19,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/warp7_bl33_defconfig +1 -0
index a568c6d..769aeb3 100644
@@ -5,6 +5,7 @@ CONFIG_SECURE_BOOT=y
 CONFIG_TARGET_WARP7=y
 CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/warp7/imximage.cfg"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MEMTEST=y
configs/warp7_defconfig +1 -0
index 955c7af..cca1eac 100644
@@ -9,6 +9,7 @@ CONFIG_IMX_RDC=y
 CONFIG_IMX_BOOTAUX=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/warp7/imximage.cfg"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_BOOTD is not set
 CONFIG_CMD_BOOTZ=y
configs/warp_defconfig +1 -0
index 63eee27..0e00253 100644
@@ -7,6 +7,7 @@ CONFIG_NR_DRAM_BANKS=1
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/warp/imximage.cfg"
 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
configs/xfi3_defconfig +1 -0
index 6046ebe..9cdd32c 100644
@@ -15,6 +15,7 @@ CONFIG_BOOTARGS="console=ttyAMA0,115200n8 "
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_SPL_FRAMEWORK is not set
configs/xpress_defconfig +1 -0
index caf0f61..2cbeeb3 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/ccv/xpress/imximage.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/xpress_spl_defconfig +1 -0
index 7eefa92..f3d02fd 100644
@@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SUPPORT_RAW_INITRD=y
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/zc5202_defconfig +1 -0
index c79cd22..f0b51b6 100644
@@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx6q-zc5202.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
configs/zc5601_defconfig +1 -0
index e92c63d..1105b9f 100644
@@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
 CONFIG_DEFAULT_FDT_FILE="imx6q-zc5601.dtb"
+CONFIG_BOUNCE_BUFFER=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
include/configs/axs10x.h +0 -1
index 1b2966f..8febe09 100644
@@ -85,6 +85,5 @@
 /*
  * Misc utility configuration
  */
-#define CONFIG_BOUNCE_BUFFER
 
 #endif /* _CONFIG_AXS10X_H_ */
include/configs/bcm_ep_board.h +0 -3
index 0586c53a..09a5804 100644
@@ -55,7 +55,4 @@
 
 /* Enable Time Command */
 
-/* Misc utility code */
-#define CONFIG_BOUNCE_BUFFER
-
 #endif /* __BCM_EP_BOARD_H */
include/configs/emsdp.h +0 -1
index 385d59e..a77f262 100644
@@ -19,7 +19,6 @@
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE
 
 /* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER
 
 /*
  * Environment
include/configs/exynos-common.h +0 -1
index f3f194f..543bf8e 100644
@@ -35,7 +35,6 @@
 /* select serial console configuration */
 
 /* SD/MMC configuration */
-#define CONFIG_BOUNCE_BUFFER
 
 /* PWM */
 #define CONFIG_PWM
include/configs/hikey.h +0 -1
index 1376d61..3a308cf 100644
@@ -54,7 +54,6 @@
 #define CONFIG_HIKEY_GPIO
 
 /* SD/MMC configuration */
-#define CONFIG_BOUNCE_BUFFER
 
 /* Command line configuration */
 
include/configs/hsdk.h +0 -1
index cdf4fdd..bafd8d0 100644
@@ -119,7 +119,6 @@ setenv core_iccm_3 0x6; setenv core_dccm_3 0x6;\0"
 /*
  * Misc utility configuration
  */
-#define CONFIG_BOUNCE_BUFFER
 
 /* Cli configuration */
 #define CONFIG_SYS_CBSIZE		SZ_2K
include/configs/iot_devkit.h +0 -1
index 4ffe114..1f40d61 100644
@@ -72,7 +72,6 @@
 					CONFIG_ENV_SIZE
 
 /* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER
 
 /*
  * Environment
include/configs/mx6_common.h +0 -1
index 1b2961f..cdc8833 100644
@@ -55,7 +55,6 @@
 #define CONFIG_SYS_MAXARGS	32
 
 /* MMC */
-#define CONFIG_BOUNCE_BUFFER
 #define CONFIG_FSL_USDHC
 
 /* Fuses */
include/configs/mx7_common.h +0 -1
index b0b7e1e..a895c93 100644
@@ -40,7 +40,6 @@
 #define CONFIG_MXC_UART
 
 /* MMC */
-#define CONFIG_BOUNCE_BUFFER
 #define CONFIG_FSL_USDHC
 
 /* Fuses */
include/configs/mx7ulp_evk.h +0 -1
index 3d32ff1..b8dcaa1 100644
@@ -27,7 +27,6 @@
 #define IRAM_BASE_ADDR			OCRAM_0_BASE
 #define IOMUXC_BASE_ADDR		IOMUXC1_RBASE
 
-#define CONFIG_BOUNCE_BUFFER
 #define CONFIG_FSL_USDHC
 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
 
include/configs/mxs.h +0 -3
index 9e59e7a..140fe87 100644
@@ -125,9 +125,6 @@
 #endif
 
 /* MMC */
-#ifdef CONFIG_CMD_MMC
-#define CONFIG_BOUNCE_BUFFER
-#endif
 
 /* NAND */
 #ifdef CONFIG_CMD_NAND
include/configs/poplar.h +0 -1
index 0a12600..6ca9ae9 100644
@@ -27,7 +27,6 @@
 #define CONFIG_USB_MAX_CONTROLLER_COUNT		2
 
 /* SD/MMC */
-#define CONFIG_BOUNCE_BUFFER
 
 /*****************************************************************************
  *  Initial environment variables
include/configs/rk3036_common.h +0 -1
index d4e5406..301bd2f 100644
@@ -25,7 +25,6 @@
 #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)
include/configs/rk3128_common.h +0 -1
index 3e9e642..a8a4e02 100644
@@ -24,7 +24,6 @@
 #define CONFIG_SYS_BOOTM_LEN	(64 << 20)	/* 64M */
 
 /* MMC/SD IP block */
-#define CONFIG_BOUNCE_BUFFER
 
 /* RAW SD card / eMMC locations. */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
include/configs/rk3188_common.h +0 -1
index d1837d5..23938f7 100644
@@ -34,7 +34,6 @@
 #define CONFIG_SPL_STACK		0x10087fff
 
 /* MMC/SD IP block */
-#define CONFIG_BOUNCE_BUFFER
 
 #define CONFIG_SYS_SDRAM_BASE		0x60000000
 #define SDRAM_BANK_SIZE			(2UL << 30)
include/configs/rk322x_common.h +0 -1
index 176bd0c..4c658b0 100644
@@ -26,7 +26,6 @@
 #define CONFIG_ROCKCHIP_CHIP_TAG	"RK32"
 
 /* MMC/SD IP block */
-#define CONFIG_BOUNCE_BUFFER
 
 #define CONFIG_SYS_SDRAM_BASE		0x60000000
 #define SDRAM_BANK_SIZE			(512UL << 20UL)
include/configs/rk3288_common.h +0 -1
index 5388b13..79b62d6 100644
@@ -30,7 +30,6 @@
 #endif
 
 /* MMC/SD IP block */
-#define CONFIG_BOUNCE_BUFFER
 
 /* RAW SD card / eMMC locations. */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
include/configs/rk3328_common.h +0 -1
index 9174c67..a7df976 100644
@@ -20,7 +20,6 @@
 #define CONFIG_SYS_BOOTM_LEN	(64 << 20)	/* 64M */
 
 /* MMC/SD IP block */
-#define CONFIG_BOUNCE_BUFFER
 
 /* RAW SD card / eMMC locations. */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
include/configs/rk3368_common.h +0 -2
index 6638491..88c1af0 100644
@@ -32,8 +32,6 @@
 #define CONFIG_SPL_BSS_START_ADDR       0x400000
 #define CONFIG_SPL_BSS_MAX_SIZE         0x20000
 
-#define CONFIG_BOUNCE_BUFFER
-
 #ifndef CONFIG_SPL_BUILD
 #define ENV_MEM_LAYOUT_SETTINGS \
 	"scriptaddr=0x00500000\0" \
include/configs/rk3399_common.h +0 -1
index eeda070..9a4da39 100644
@@ -28,7 +28,6 @@
 #define CONFIG_SYS_BOOTM_LEN	(64 << 20)	/* 64M */
 
 /* MMC/SD IP block */
-#define CONFIG_BOUNCE_BUFFER
 #define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ	200000000
 
 /* RAW SD card / eMMC locations. */
include/configs/socfpga_common.h +0 -1
index bd8f5c8..3b32dd2 100644
@@ -121,7 +121,6 @@
  * MMC Driver
  */
 #ifdef CONFIG_CMD_MMC
-#define CONFIG_BOUNCE_BUFFER
 /* FIXME */
 /* using smaller max blk cnt to avoid flooding the limited stack we have */
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	256	/* FIXME -- SPL only? */
include/configs/socfpga_stratix10_socdk.h +0 -1
index e190b3d..f9319a2 100644
@@ -154,7 +154,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
  * SDMMC configurations
  */
 #ifdef CONFIG_CMD_MMC
-#define CONFIG_BOUNCE_BUFFER
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	256
 #endif
 /*
include/configs/tegra-common.h +0 -1
index 4d249dd..178f170 100644
@@ -89,6 +89,5 @@
 #endif
 
 /* Misc utility code */
-#define CONFIG_BOUNCE_BUFFER
 
 #endif /* _TEGRA_COMMON_H_ */
scripts/config_whitelist.txt +0 -1
index b3f525f..2151d65 100644
@@ -169,7 +169,6 @@ CONFIG_BOOT_OS_NET
 CONFIG_BOOT_PARAMS_ADDR
 CONFIG_BOOT_RETRY_MIN
 CONFIG_BOOT_RETRY_TIME
-CONFIG_BOUNCE_BUFFER
 CONFIG_BPTR_VIRT_ADDR
 CONFIG_BS_ADDR_DEVICE
 CONFIG_BS_ADDR_RAM
Signature · 1 line
2.1.4
#2 lore raw

PATCH v3 1/5 Kconfig: Migrate BOUNCE_BUFFER

Hi Philipp,

Quoted 17 lines · Philipp Tomsich

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; successive commits will introduce individual dependencies for drivers and then undo some of the changes to the defconfig files.

---

[snip]

Quoted 9 lines
common/Kconfig +1 -0
index 57bd16d..5bbd00a 100644
@@ -645,6 +645,17 @@ config DISPLAY_BOARDINFO_LATE
 	  the relocation phase. The board function checkboard() is called to do
 	  this.
 
+config BOUNCE_BUFFER

common/Kconfig config DISPLAY_BOARDINFO_LATE · line 658

Quoted 10 lines
common/Kconfig +10 -0
+	bool "Include bounce buffer API"
+	help
+	  Some peripherals support DMA from a subset of physically
+	  addressable memory only.  To support such peripherals, the
+	  bounce buffer API uses a temporary buffer: it copies data
+	  to/from DMA regions while managing cache operations.
+
+	  A second possible use of bounce buffers is their ability to
+	  provide aligned buffers for DMA operations.
+

Here you only add BOUNCE_BUFFER option and yet it is not dependent on anything, right?

Quoted 11 lines
include/configs/axs10x.h +0 -1
index 1b2966f..8febe09 100644
@@ -85,6 +85,5 @@
 /*
  * Misc utility configuration
  */
-#define CONFIG_BOUNCE_BUFFER
 
 #endif /* _CONFIG_AXS10X_H_ */

...

Quoted 12 lines
include/configs/emsdp.h +0 -1
index 385d59e..a77f262 100644
@@ -19,7 +19,6 @@
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE
 
 /* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER
 
 /*
  * Environment

...

Quoted 17 lines
include/configs/hsdk.h +0 -1
index cdf4fdd..bafd8d0 100644
@@ -119,7 +119,6 @@ setenv core_iccm_3 0x6; setenv core_dccm_3 0x6;\0"
 /*
  * Misc utility configuration
  */
-#define CONFIG_BOUNCE_BUFFER
 
 /* Cli configuration */
 #define CONFIG_SYS_CBSIZE		SZ_2K
include/configs/iot_devkit.h +0 -0
index 4ffe114..1f40d61 100644

include/configs/iot_devkit.h line 77

Quoted 7 lines
include/configs/iot_devkit.h +0 -1
@@ -72,7 +72,6 @@
 					CONFIG_ENV_SIZE
 
 /* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER
 
 /*
  * Environment

And here in xxx.h files you unconditionally remove CONFIG_BOUNCE_BUFFER which breaks MMC on these boards.

I understand that you're fixing that in the subsequent commit but I'd prefer all changes to be bisectable, i.e. have normally working system on each and every commit.

Moreover IMHO it doesn't look logical to remove "#define CONFIG_BOUNCE_BUFFER" here while remove comment which is clearly bounded to CONFIG_BOUNCE_BUFFER in the next commit.

So maybe we need to split this first commit in 3 parts and squash it with 2, 3 and 4.

-Alexey

#3 lore raw

PATCH v3 1/5 Kconfig: Migrate BOUNCE_BUFFER

Alexey,

Quoted 105 lines · Alexey Brodkin

Hi Philipp,

Quoted 17 lines · Philipp Tomsich

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; successive commits will introduce individual dependencies for drivers and then undo some of the changes to the defconfig files.

---

[snip]

Quoted 9 lines
common/Kconfig +1 -0
index 57bd16d..5bbd00a 100644
@@ -645,6 +645,17 @@ config DISPLAY_BOARDINFO_LATE
 	  the relocation phase. The board function checkboard() is called to do
 	  this.
 
+config BOUNCE_BUFFER

common/Kconfig config DISPLAY_BOARDINFO_LATE · line 658

Quoted 10 lines
common/Kconfig +10 -0
+	bool "Include bounce buffer API"
+	help
+	  Some peripherals support DMA from a subset of physically
+	  addressable memory only.  To support such peripherals, the
+	  bounce buffer API uses a temporary buffer: it copies data
+	  to/from DMA regions while managing cache operations.
+
+	  A second possible use of bounce buffers is their ability to
+	  provide aligned buffers for DMA operations.
+

Here you only add BOUNCE_BUFFER option and yet it is not dependent on anything, right?

Quoted 11 lines
include/configs/axs10x.h +0 -1
index 1b2966f..8febe09 100644
@@ -85,6 +85,5 @@
 /*
 * Misc utility configuration
 */
-#define CONFIG_BOUNCE_BUFFER
 
 #endif /* _CONFIG_AXS10X_H_ */

...

Quoted 12 lines
include/configs/emsdp.h +0 -1
index 385d59e..a77f262 100644
@@ -19,7 +19,6 @@
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE
 
 /* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER
 
 /*
 * Environment

...

Quoted 17 lines
include/configs/hsdk.h +0 -1
index cdf4fdd..bafd8d0 100644
@@ -119,7 +119,6 @@ setenv core_iccm_3 0x6; setenv core_dccm_3 0x6;\0"
 /*
 * Misc utility configuration
 */
-#define CONFIG_BOUNCE_BUFFER
 
 /* Cli configuration */
 #define CONFIG_SYS_CBSIZE		SZ_2K
include/configs/iot_devkit.h +0 -0
index 4ffe114..1f40d61 100644

include/configs/iot_devkit.h line 77

Quoted 7 lines
include/configs/iot_devkit.h +0 -1
@@ -72,7 +72,6 @@
 					CONFIG_ENV_SIZE
 
 /* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER
 
 /*
 * Environment

And here in xxx.h files you unconditionally remove CONFIG_BOUNCE_BUFFER which breaks MMC on these boards.

Quoted 6 lines

I understand that you're fixing that in the subsequent commit but I'd prefer all changes to be bisectable, i.e. have normally working system on each and every commit.

Moreover IMHO it doesn't look logical to remove "#define CONFIG_BOUNCE_BUFFER" here while remove comment which is clearly bounded to CONFIG_BOUNCE_BUFFER in the next commit.

In this patch, moveconfig has moved the selction this into the respective _defconfig files for the AXS10x boards.

The later patches merely add the infrastructure to Kconfig to ensure this is automatically selected and can’t be turned off...

Quoted 3 lines

So maybe we need to split this first commit in 3 parts and squash it with 2, 3 and 4.

#4 lore raw

PATCH v3 1/5 Kconfig: Migrate BOUNCE_BUFFER

Hi Philipp,

On Mon, 2018-12-03 at 13:32 +0100, Philipp Tomsich wrote:
Alexey,

On 03.12.2018, at 12:17, Alexey Brodkin <alexey.brodkin at synopsys.com<mailto:[email protected]>> wrote:

Hi Philipp,

On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote:
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; successive commits will introduce individual dependencies for drivers and then undo some of the changes to the defconfig files.

Signed-off-by Philipp Tomsich <philipp.tomsich at theobroma-systems.com<mailto:[email protected]>>

---

[snip]

common/Kconfig +11 -0
index 57bd16d..5bbd00a 100644
@@ -645,6 +645,17 @@ config DISPLAY_BOARDINFO_LATE
  the relocation phase. The board function checkboard() is called to do
  this.
 
+config BOUNCE_BUFFER
+ bool "Include bounce buffer API"
+ help
+   Some peripherals support DMA from a subset of physically
+   addressable memory only.  To support such peripherals, the
+   bounce buffer API uses a temporary buffer: it copies data
+   to/from DMA regions while managing cache operations.
+
+   A second possible use of bounce buffers is their ability to
+   provide aligned buffers for DMA operations.
+
 

Here you only add BOUNCE_BUFFER option and yet it is not dependent on anything, right?

include/configs/axs10x.h +0 -0
index 1b2966f..8febe09 100644
@@ -85,6 +85,5 @@

/*
* Misc utility configuration
*/
-#define CONFIG_BOUNCE_BUFFER

#endif /* _CONFIG_AXS10X_H_ */

...

include/configs/emsdp.h +0 -0
index 385d59e..a77f262 100644
@@ -19,7 +19,6 @@

#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE

/* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER

/*
* Environment

...

include/configs/hsdk.h +0 -0
index cdf4fdd..bafd8d0 100644
@@ -119,7 +119,6 @@ setenv core_iccm_3 0x6; setenv core_dccm_3 0x6;\0"

/*
* Misc utility configuration
*/
-#define CONFIG_BOUNCE_BUFFER

/* Cli configuration */
#define CONFIG_SYS_CBSIZE SZ_2K

include/configs/iot_devkit.h +0 -0
index 4ffe114..1f40d61 100644
@@ -72,7 +72,6 @@

CONFIG_ENV_SIZE

/* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER

/*
* Environment

And here in xxx.h files you unconditionally remove CONFIG_BOUNCE_BUFFER which breaks MMC on these boards.

I understand that you're fixing that in the subsequent commit but I'd prefer all changes to be bisectable, i.e. have normally working system on each and every commit.

Moreover IMHO it doesn't look logical to remove "#define CONFIG_BOUNCE_BUFFER" here while remove comment which is clearly bounded to CONFIG_BOUNCE_BUFFER in the next commit.

In this patch, moveconfig has moved the selction this into the respective _defconfig files for the AXS10x boards.

Hm... are you sure axs101_defconfig & axs103_defconfig were updated in this patch? I didn't see them there.

-Alexey

#5 lore raw

PATCH v3 1/5 Kconfig: Migrate BOUNCE_BUFFER

Alexey,

Quoted 116 lines · Alexey Brodkin

Hi Philipp,

Quoted 111 lines · Philipp Tomsich

Alexey,

Quoted 109 lines · On 03.12.2018, at 12:17, Alexey Brodkin <alexey.brodkin at synopsys.com…

Hi Philipp,

Quoted 17 lines · Philipp Tomsich

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; successive commits will introduce individual dependencies for drivers and then undo some of the changes to the defconfig files.

Signed-off-by Philipp Tomsich <philipp.tomsich at theobroma-systems.com <mailto:[email protected]>>

---

[snip]

Quoted 9 lines
common/Kconfig +1 -0
index 57bd16d..5bbd00a 100644
@@ -645,6 +645,17 @@ config DISPLAY_BOARDINFO_LATE
  the relocation phase. The board function checkboard() is called to do
  this.
 
+config BOUNCE_BUFFER

common/Kconfig config DISPLAY_BOARDINFO_LATE · line 658

Quoted 10 lines
common/Kconfig +10 -0
+ bool "Include bounce buffer API"
+ help
+   Some peripherals support DMA from a subset of physically
+   addressable memory only.  To support such peripherals, the
+   bounce buffer API uses a temporary buffer: it copies data
+   to/from DMA regions while managing cache operations.
+
+   A second possible use of bounce buffers is their ability to
+   provide aligned buffers for DMA operations.
+

Here you only add BOUNCE_BUFFER option and yet it is not dependent on anything, right?

Quoted 11 lines
include/configs/axs10x.h +0 -1
index 1b2966f..8febe09 100644
@@ -85,6 +85,5 @@
 /*
 * Misc utility configuration
 */
-#define CONFIG_BOUNCE_BUFFER
 
 #endif /* _CONFIG_AXS10X_H_ */

...

Quoted 12 lines
include/configs/emsdp.h +0 -1
index 385d59e..a77f262 100644
@@ -19,7 +19,6 @@
 #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
 
 /* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER
 
 /*
 * Environment

...

Quoted 19 lines
include/configs/hsdk.h +0 -1
index cdf4fdd..bafd8d0 100644
@@ -119,7 +119,6 @@ setenv core_iccm_3 0x6; setenv core_dccm_3 0x6;\0"
 /*
 * Misc utility configuration
 */
-#define CONFIG_BOUNCE_BUFFER
 
 /* Cli configuration */
 #define CONFIG_SYS_CBSIZE SZ_2K
include/configs/iot_devkit.h +0 -0
index 4ffe114..1f40d61 100644
@@ -72,7 +72,6 @@

CONFIG_ENV_SIZE

Quoted 5 lines

/* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER

/*
* Environment

And here in xxx.h files you unconditionally remove CONFIG_BOUNCE_BUFFER which breaks MMC on these boards.

I understand that you're fixing that in the subsequent commit but I'd prefer all changes to be bisectable, i.e. have normally working system on each and every commit.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Moreover IMHO it doesn't look logical to remove "#define CONFIG_BOUNCE_BUFFER" here while remove comment which is clearly bounded to CONFIG_BOUNCE_BUFFER in the next commit.

In this patch, moveconfig has moved the selction this into the respective _defconfig files for the AXS10x boards.

Hm... are you sure axs101_defconfig & axs103_defconfig were updated in this patch? I didn't see them there.

You are right: my ARC toolchain wasn’t configured … I’ll need to debug my toolchain configs and rerun my moveconfig.

Thanks for pointing this out.

—Philipp.

#6 lore raw

PATCH v3 1/5 Kconfig: Migrate BOUNCE_BUFFER

Hi Philipp,

On Mon, 2018-12-03 at 13:38 +0100, Philipp Tomsich wrote:
Alexey,

On 03.12.2018, at 13:35, Alexey Brodkin <alexey.brodkin at synopsys.com<mailto:[email protected]>> wrote:
Hi Philipp,

On Mon, 2018-12-03 at 13:32 +0100, Philipp Tomsich wrote:
Alexey,

On 03.12.2018, at 12:17, Alexey Brodkin <alexey.brodkin at synopsys.com<mailto:[email protected]>> wrote:
Hi Philipp,

On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote:
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; successive commits will introduce individual dependencies for drivers and then undo some of the changes to the defconfig files.

Signed-off-by Philipp Tomsich <philipp.tomsich at theobroma-systems.com<mailto:[email protected]>>

---

[snip]

common/Kconfig +11 -0
index 57bd16d..5bbd00a 100644
@@ -645,6 +645,17 @@ config DISPLAY_BOARDINFO_LATE
  the relocation phase. The board function checkboard() is called to do
  this.
 
+config BOUNCE_BUFFER
+ bool "Include bounce buffer API"
+ help
+   Some peripherals support DMA from a subset of physically
+   addressable memory only.  To support such peripherals, the
+   bounce buffer API uses a temporary buffer: it copies data
+   to/from DMA regions while managing cache operations.
+
+   A second possible use of bounce buffers is their ability to
+   provide aligned buffers for DMA operations.
+
 

Here you only add BOUNCE_BUFFER option and yet it is not dependent on anything, right?

include/configs/axs10x.h +0 -0
index 1b2966f..8febe09 100644
@@ -85,6 +85,5 @@

/*
* Misc utility configuration
*/
-#define CONFIG_BOUNCE_BUFFER

#endif /* _CONFIG_AXS10X_H_ */

...

include/configs/emsdp.h +0 -0
index 385d59e..a77f262 100644
@@ -19,7 +19,6 @@

#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE

/* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER

/*
* Environment

...

include/configs/hsdk.h +0 -0
index cdf4fdd..bafd8d0 100644
@@ -119,7 +119,6 @@ setenv core_iccm_3 0x6; setenv core_dccm_3 0x6;\0"

/*
* Misc utility configuration
*/
-#define CONFIG_BOUNCE_BUFFER

/* Cli configuration */
#define CONFIG_SYS_CBSIZE SZ_2K

include/configs/iot_devkit.h +0 -0
index 4ffe114..1f40d61 100644
@@ -72,7 +72,6 @@

CONFIG_ENV_SIZE

/* Required by DW MMC driver */
-#define CONFIG_BOUNCE_BUFFER

/*
* Environment

And here in xxx.h files you unconditionally remove CONFIG_BOUNCE_BUFFER which breaks MMC on these boards.

I understand that you're fixing that in the subsequent commit but I'd prefer all changes to be bisectable, i.e. have normally working system on each and every commit.

Moreover IMHO it doesn't look logical to remove "#define CONFIG_BOUNCE_BUFFER" here while remove comment which is clearly bounded to CONFIG_BOUNCE_BUFFER in the next commit.

In this patch, moveconfig has moved the selction this into the respective _defconfig files for the AXS10x boards.

But still if CONFIG_BOUNCE_BUFFER is gone shouldn't we remove a relevant comment as well?

Hm... are you sure axs101_defconfig & axs103_defconfig were updated in this patch? I didn't see them there.

You are right: my ARC toolchain wasn’t configured … I’ll need to debug my toolchain configs and rerun my moveconfig.

You may want to see how ARC toolchain is retrieved by TravisCI job:
http://git.denx.de/?p=u-boot.git;a=blob;f=.travis.yml#l78

-Alexey

#7 lore raw

PATCH v3 1/5 Kconfig: Migrate BOUNCE_BUFFER

In reply to Philipp Tomsich
Quoted 9 lines · Philipp Tomsich

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).

Quoted 6 lines

This commit includes a full migration using moveconfig.py to ensure that each commit compiles; successive commits will introduce individual dependencies for drivers and then undo some of the changes to the defconfig files.

After squashing in the whole series, to keep bisectability:

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190119/7c898d90/attachment.sig>
#8 lore raw

PATCH v3 2/5 mmc: dw_mmc: depend on BOUNCE_BUFFER

In reply to Philipp Tomsich

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

This also includes the postprocessing of the config-headers to drop now-unused comments after moveconfig has run.

---

Changes in v3:
- also remove the define from the recently added rv1108_common.h

Changes in v2: None

 drivers/mmc/Kconfig             | 1 +
 include/configs/emsdp.h         | 2 --
 include/configs/exynos-common.h | 2 --
 include/configs/hikey.h         | 2 --
 include/configs/hsdk.h          | 4 ----
 include/configs/iot_devkit.h    | 2 --
 include/configs/poplar.h        | 2 --
 include/configs/rk3036_common.h | 2 --
 include/configs/rk3128_common.h | 2 --
 include/configs/rk3188_common.h | 2 --
 include/configs/rk322x_common.h | 2 --
 include/configs/rk3288_common.h | 2 --
 include/configs/rk3328_common.h | 3 ---
 include/configs/rv1108_common.h | 3 ---
 14 files changed, 1 insertion(+), 30 deletions(-)
drivers/mmc/Kconfig +1 -0
index fbd1396..65d43a5 100644
@@ -178,6 +178,7 @@ config MMC_DAVINCI
 
 config MMC_DW
 	bool "Synopsys DesignWare Memory Card Interface"
+	select BOUNCE_BUFFER
 	help
 	  This selects support for the Synopsys DesignWare Mobile Storage IP
 	  block, this provides host support for SD and MMC interfaces, in both
include/configs/emsdp.h +0 -2
index a77f262..23c71f4 100644
@@ -18,8 +18,6 @@
 #define CONFIG_SYS_MALLOC_LEN		SZ_64K
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE
 
-/* Required by DW MMC driver */
-
 /*
  * Environment
  */
include/configs/exynos-common.h +0 -2
index 543bf8e..752acc5 100644
@@ -34,8 +34,6 @@
 
 /* select serial console configuration */
 
-/* SD/MMC configuration */
-
 /* PWM */
 #define CONFIG_PWM
 
include/configs/hikey.h +0 -2
index 3a308cf..6d9e6eb 100644
@@ -53,8 +53,6 @@
 
 #define CONFIG_HIKEY_GPIO
 
-/* SD/MMC configuration */
-
 /* Command line configuration */
 
 /* BOOTP options */
include/configs/hsdk.h +0 -4
index bafd8d0..2ec2fd1 100644
@@ -116,10 +116,6 @@ setenv core_iccm_3 0x6; setenv core_dccm_3 0x6;\0"
 #define CONFIG_BOOTFILE			"uImage"
 #define CONFIG_LOADADDR			CONFIG_SYS_LOAD_ADDR
 
-/*
- * Misc utility configuration
- */
-
 /* Cli configuration */
 #define CONFIG_SYS_CBSIZE		SZ_2K
 
include/configs/iot_devkit.h +0 -2
index 1f40d61..cd1309d 100644
@@ -71,8 +71,6 @@
 					CONFIG_SYS_MALLOC_LEN - \
 					CONFIG_ENV_SIZE
 
-/* Required by DW MMC driver */
-
 /*
  * Environment
  */
include/configs/poplar.h +0 -2
index 6ca9ae9..a7a77ec 100644
@@ -26,8 +26,6 @@
 /* USB configuration */
 #define CONFIG_USB_MAX_CONTROLLER_COUNT		2
 
-/* SD/MMC */
-
 /*****************************************************************************
  *  Initial environment variables
  *****************************************************************************/
include/configs/rk3036_common.h +0 -2
index 301bd2f..e307855 100644
@@ -24,8 +24,6 @@
 #define CONFIG_ROCKCHIP_MAX_INIT_SIZE	(4 << 10)
 #define CONFIG_ROCKCHIP_CHIP_TAG	"RK30"
 
-/* MMC/SD IP block */
-
 #define CONFIG_SYS_SDRAM_BASE		0x60000000
 #define SDRAM_BANK_SIZE			(512UL << 20UL)
 #define SDRAM_MAX_SIZE                  (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE)
include/configs/rk3128_common.h +0 -2
index a8a4e02..f4f64ed 100644
@@ -23,8 +23,6 @@
 
 #define CONFIG_SYS_BOOTM_LEN	(64 << 20)	/* 64M */
 
-/* MMC/SD IP block */
-
 /* RAW SD card / eMMC locations. */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
 
include/configs/rk3188_common.h +0 -2
index 23938f7..612d643 100644
@@ -33,8 +33,6 @@
 
 #define CONFIG_SPL_STACK		0x10087fff
 
-/* MMC/SD IP block */
-
 #define CONFIG_SYS_SDRAM_BASE		0x60000000
 #define SDRAM_BANK_SIZE			(2UL << 30)
 #define SDRAM_MAX_SIZE			0x80000000
include/configs/rk322x_common.h +0 -2
index 4c658b0..e72aa8d 100644
@@ -25,8 +25,6 @@
 #define CONFIG_ROCKCHIP_MAX_INIT_SIZE	(28 << 10)
 #define CONFIG_ROCKCHIP_CHIP_TAG	"RK32"
 
-/* MMC/SD IP block */
-
 #define CONFIG_SYS_SDRAM_BASE		0x60000000
 #define SDRAM_BANK_SIZE			(512UL << 20UL)
 #define SDRAM_MAX_SIZE			0x80000000
include/configs/rk3288_common.h +0 -2
index 79b62d6..01f297b 100644
@@ -29,8 +29,6 @@
 # define CONFIG_SPL_TEXT_BASE		0xff704000
 #endif
 
-/* MMC/SD IP block */
-
 /* RAW SD card / eMMC locations. */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
 
include/configs/rk3328_common.h +0 -3
index a7df976..7913ef7 100644
@@ -19,9 +19,6 @@
 
 #define CONFIG_SYS_BOOTM_LEN	(64 << 20)	/* 64M */
 
-/* MMC/SD IP block */
-
-/* RAW SD card / eMMC locations. */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
 
 /* FAT sd card locations. */
include/configs/rv1108_common.h +0 -3
index 16d4e2e..952ea9f 100644
@@ -17,9 +17,6 @@
 #define CONFIG_SYS_TIMER_BASE		0x10350020
 #define CONFIG_SYS_TIMER_COUNTER	(CONFIG_SYS_TIMER_BASE + 8)
 
-/* MMC/SD IP block */
-#define CONFIG_BOUNCE_BUFFER
-
 #define CONFIG_SYS_SDRAM_BASE		0x60000000
 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_TEXT_BASE + 0x100000)
 #define CONFIG_SYS_LOAD_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x2000000)
Signature · 1 line
2.1.4
#9 lore raw

PATCH v3 3/5 mmc: mxsmmc: select BOUNCE_BUFFER unconditionally

In reply to Philipp Tomsich

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

This commit also includes the postprocessing to remove now-unused comments from the config-header after moveconfig has run.

---

Changes in v3: None
Changes in v2: None

 drivers/mmc/Kconfig   | 1 +
 include/configs/mxs.h | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/mmc/Kconfig +1 -0
index 65d43a5..e16dd6a 100644
@@ -240,6 +240,7 @@ config MMC_MXC
 config MMC_MXS
 	bool "Freescale MXS Multimedia Card Interface support"
 	depends on MX23 || MX28 || MX6 || MX7
+	select BOUNCE_BUFFER
 	select APBH_DMA
 	select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7
 	select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7
include/configs/mxs.h +0 -2
index 140fe87..20719c9 100644
@@ -124,8 +124,6 @@
 #define CONFIG_VIDEO_MXS
 #endif
 
-/* MMC */
-
 /* NAND */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_SYS_MAX_NAND_DEVICE	1
Signature · 1 line
2.1.4
#10 lore raw

PATCH v3 4/5 mmc: tegra: select BOUNCE_BUFFER unconditionally

In reply to Philipp Tomsich

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.

---

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(-)
drivers/mmc/Kconfig +1 -0
index e16dd6a..eb2e9bc 100644
@@ -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
include/configs/tegra-common.h +0 -2
index 178f170..d37e2d7 100644
@@ -88,6 +88,4 @@
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x00010000
 #endif
 
-/* Misc utility code */
-
 #endif /* _TEGRA_COMMON_H_ */
Signature · 1 line
2.1.4
#11 lore raw

PATCH v3 4/5 mmc: tegra: select BOUNCE_BUFFER unconditionally

Quoted 9 lines · Philipp Tomsich

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.

Quoted 8 lines

---

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(-)
#12 lore raw

PATCH v3 5/5 arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

In reply to Philipp Tomsich

The NAND driver of AXS10x depends on the availability of the bounce buffer. As the NAND driver is gated by CMD_NAND only, we need to select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and TARGET_AXS103.

---

Changes in v3: None
Changes in v2: None

 arch/arc/Kconfig         | 2 ++
 include/configs/axs10x.h | 4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)
arch/arc/Kconfig +2 -0
index fa6b344..50369d5 100644
@@ -146,9 +146,11 @@ config TARGET_NSIM
 
 config TARGET_AXS101
 	bool "Support Synopsys Designware SDP board AXS101"
+	select BOUNCE_BUFFER if CMD_NAND
 
 config TARGET_AXS103
 	bool "Support Synopsys Designware SDP board AXS103"
+	select BOUNCE_BUFFER if CMD_NAND
 
 config TARGET_EMSDP
 	bool "Synopsys EM Software Development Platform"
include/configs/axs10x.h +0 -4
index 8febe09..bd1c902 100644
@@ -82,8 +82,4 @@
  * Console configuration
  */
 
-/*
- * Misc utility configuration
- */
-
 #endif /* _CONFIG_AXS10X_H_ */
Signature · 1 line
2.1.4
#13 lore raw

PATCH v3 5/5 arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

Hi Philipp,

Quoted 20 lines · Philipp Tomsich

The NAND driver of AXS10x depends on the availability of the bounce buffer. As the NAND driver is gated by CMD_NAND only, we need to select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and TARGET_AXS103.

---

Changes in v3: None
Changes in v2: None

 arch/arc/Kconfig         | 2 ++
 include/configs/axs10x.h | 4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)
arch/arc/Kconfig +0 -0
index fa6b344..50369d5 100644

arch/arc/Kconfig config TARGET_NSIM · line 153

Quoted 8 lines
arch/arc/Kconfig +2 -0
@@ -146,9 +146,11 @@ config TARGET_NSIM
 
 config TARGET_AXS101
 	bool "Support Synopsys Designware SDP board AXS101"
+	select BOUNCE_BUFFER if CMD_NAND
 
 config TARGET_AXS103
 	bool "Support Synopsys Designware SDP board AXS103"
+	select BOUNCE_BUFFER if CMD_NAND

I'd say that more appropriate place is "board/synopsys/axs10x/Kconfig". Because:
- This is related to the particular board, architecture has nothing to do with this
- Only 1 line of change will be required as both boards use the same Kconfig file

Quoted 7 lines
arch/arc/Kconfig +0 -0
 config TARGET_EMSDP
 	bool "Synopsys EM Software Development Platform"
include/configs/axs10x.h +0 -0
index 8febe09..bd1c902 100644

include/configs/axs10x.h line 85

Quoted 8 lines
include/configs/axs10x.h +0 -4
@@ -82,8 +82,4 @@
  * Console configuration
  */
 
-/*
- * Misc utility configuration
- */
-
 #endif /* _CONFIG_AXS10X_H_ */

As already mentioned maybe move it to the patch which moves the option to Kconfig?

-Alexey

#14 lore raw

PATCH v3 5/5 arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

Alexey,

Quoted 30 lines · Alexey Brodkin

Hi Philipp,

Quoted 25 lines · Philipp Tomsich

The NAND driver of AXS10x depends on the availability of the bounce buffer. As the NAND driver is gated by CMD_NAND only, we need to select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and TARGET_AXS103.

---

Changes in v3: None
Changes in v2: None

arch/arc/Kconfig | 2 ++
include/configs/axs10x.h | 4 ----

2 files changed, 2 insertions(+), 4 deletions(-)
arch/arc/Kconfig +0 -0
index fa6b344..50369d5 100644
@@ -146,9 +146,11 @@ config TARGET_NSIM
 

config TARGET_AXS101
bool "Support Synopsys Designware SDP board AXS101"

arch/arc/Kconfig +1 -0
+	select BOUNCE_BUFFER if CMD_NAND
Quoted 10 lines

arch/arc/Kconfig

Quoted 3 lines

config TARGET_AXS103
bool "Support Synopsys Designware SDP board AXS103"

arch/arc/Kconfig +1 -0
+	select BOUNCE_BUFFER if CMD_NAND

I'd say that more appropriate place is "board/synopsys/axs10x/Kconfig". Because:
- This is related to the particular board, architecture has nothing to do with this
- Only 1 line of change will be required as both boards use the same Kconfig file

Happily, if you tell me how I can add a ‘select’ for this config-option in board/synopsys/axs10x/Kconfig w/o unintended side-effects …
In other words: I failed when I tried to override CMD_NAND in that file.

Thanks,
Philipp.

#15 lore raw

PATCH v3 5/5 arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

Hi Philipp,

On Mon, 2018-12-03 at 13:28 +0100, Philipp Tomsich wrote:
Alexey,

On 03.12.2018, at 12:20, Alexey Brodkin <alexey.brodkin at synopsys.com<mailto:[email protected]>> wrote:
Hi Philipp,

On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote:
The NAND driver of AXS10x depends on the availability of the bounce buffer. As the NAND driver is gated by CMD_NAND only, we need to select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and TARGET_AXS103.

Signed-off-by Philipp Tomsich <philipp.tomsich at theobroma-systems.com<mailto:[email protected]>>

---

Changes in v3: None
Changes in v2: None

arch/arc/Kconfig | 2 ++
include/configs/axs10x.h | 4 ----

2 files changed, 2 insertions(+), 4 deletions(-)
arch/arc/Kconfig +0 -0
index fa6b344..50369d5 100644
@@ -146,9 +146,11 @@ config TARGET_NSIM
 

config TARGET_AXS101
bool "Support Synopsys Designware SDP board AXS101"
+ select BOUNCE_BUFFER if CMD_NAND

config TARGET_AXS103
bool "Support Synopsys Designware SDP board AXS103"
+ select BOUNCE_BUFFER if CMD_NAND

I'd say that more appropriate place is "board/synopsys/axs10x/Kconfig". Because:
- This is related to the particular board, architecture has nothing to do with this
- Only 1 line of change will be required as both boards use the same Kconfig file

Happily, if you tell me how I can add a ‘select’ for this config-option in board/synopsys/axs10x/Kconfig w/o unintended side-effects …
In other words: I failed when I tried to override CMD_NAND in that file.

Ok I see now. We need to have either "bool" or "tristate" Kconfig entry to specify "select". So we'll need to introduce another hidden variable in board/synopsys/axs10x/Kconfig to get it working... in that case I think your initial proposal looks better.

Sorry for the noise then.

-Alexey

#16 lore raw

v3 cover Migrate BOUNCE_BUFFER

In reply to Philipp Tomsich

Am 30.11.2018 um 22:13 schrieb Philipp Tomsich:

Quoted 4 lines

A number of MMC drivers uses BOUNCE_BUFFER for their DMA buffers. This moves it into Kconfig and performs a step-by-step migration for the affected boards/drivers.

Quoted 8 lines

Given that BOUNCE_BUFFER only controls whether the bounce_buffer_* functions are build and linked, this configuration option could be entirely removed and the utility functions built unconditionally. For platforms that don't make use of these functions, the linker will then remove the unused symbols.

I'll leave the final decision if this would be a better implementation (or if this should be done in a two-stage process) to someone else...

I had to manually change patch 2/5 since it did not apply, but after that it worked for socfpga gen5.

I only wonder if we need to clean up the defconfigs again after selecting BOUNCE_BUFFER via dw_mmc?

Regards,
Simon

Quoted 251 lines

Changes in v3:
- also remove the define from the recently added rv1108_common.h

Changes in v2:
- address sequencing of changes to ensure that tree remains buildable after each individual patch is applied
- extended help message in Kconfig to explicitly note that bounce buffers can be used to have properly aligned buffers

Philipp Tomsich (5):
Kconfig: Migrate BOUNCE_BUFFER
mmc: dw_mmc: depend on BOUNCE_BUFFER
mmc: mxsmmc: select BOUNCE_BUFFER unconditionally
mmc: tegra: select BOUNCE_BUFFER unconditionally
arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

  arch/arc/Kconfig                          |  2 ++
  common/Kconfig                            | 11 +++++++++++
  configs/apalis-tk1_defconfig              |  1 +
  configs/apalis_imx6_defconfig             |  1 +
  configs/apalis_imx6_nospl_com_defconfig   |  1 +
  configs/apalis_imx6_nospl_it_defconfig    |  1 +
  configs/apalis_t30_defconfig              |  1 +
  configs/apx4devkit_defconfig              |  1 +
  configs/aristainetos2_defconfig           |  1 +
  configs/aristainetos2b_defconfig          |  1 +
  configs/aristainetos_defconfig            |  1 +
  configs/arndale_defconfig                 |  1 +
  configs/bcm911360_entphn-ns_defconfig     |  1 +
  configs/bcm911360_entphn_defconfig        |  1 +
  configs/bcm911360k_defconfig              |  1 +
  configs/bcm958300k-ns_defconfig           |  1 +
  configs/bcm958300k_defconfig              |  1 +
  configs/bcm958305k_defconfig              |  1 +
  configs/bcm958622hr_defconfig             |  1 +
  configs/beaver_defconfig                  |  1 +
  configs/cardhu_defconfig                  |  1 +
  configs/cei-tk1-som_defconfig             |  1 +
  configs/cgtqmx6eval_defconfig             |  1 +
  configs/chromebit_mickey_defconfig        |  1 +
  configs/chromebook_jerry_defconfig        |  1 +
  configs/chromebook_minnie_defconfig       |  1 +
  configs/cl-som-imx7_defconfig             |  1 +
  configs/cm_fx6_defconfig                  |  1 +
  configs/colibri-imx6ull_defconfig         |  1 +
  configs/colibri_imx6_defconfig            |  1 +
  configs/colibri_imx6_nospl_defconfig      |  1 +
  configs/colibri_imx7_defconfig            |  1 +
  configs/colibri_t20_defconfig             |  1 +
  configs/colibri_t30_defconfig             |  1 +
  configs/dalmore_defconfig                 |  1 +
  configs/dh_imx6_defconfig                 |  1 +
  configs/display5_defconfig                |  1 +
  configs/display5_factory_defconfig        |  1 +
  configs/dms-ba16-1g_defconfig             |  1 +
  configs/dms-ba16_defconfig                |  1 +
  configs/e2220-1170_defconfig              |  1 +
  configs/evb-px5_defconfig                 |  1 +
  configs/evb-rk3036_defconfig              |  1 +
  configs/evb-rk3128_defconfig              |  1 +
  configs/evb-rk3229_defconfig              |  1 +
  configs/evb-rk3288_defconfig              |  1 +
  configs/evb-rk3328_defconfig              |  1 +
  configs/evb-rk3399_defconfig              |  1 +
  configs/fennec-rk3288_defconfig           |  1 +
  configs/firefly-rk3288_defconfig          |  1 +
  configs/firefly-rk3399_defconfig          |  1 +
  configs/ge_bx50v3_defconfig               |  1 +
  configs/geekbox_defconfig                 |  1 +
  configs/gwventana_emmc_defconfig          |  1 +
  configs/gwventana_gw5904_defconfig        |  1 +
  configs/gwventana_nand_defconfig          |  1 +
  configs/harmony_defconfig                 |  1 +
  configs/hikey_defconfig                   |  1 +
  configs/imx6dl_icore_nand_defconfig       |  1 +
  configs/imx6dl_mamoj_defconfig            |  1 +
  configs/imx6q_icore_nand_defconfig        |  1 +
  configs/imx6q_logic_defconfig             |  1 +
  configs/imx6qdl_icore_mipi_defconfig      |  1 +
  configs/imx6qdl_icore_mmc_defconfig       |  1 +
  configs/imx6qdl_icore_nand_defconfig      |  1 +
  configs/imx6qdl_icore_rqs_defconfig       |  1 +
  configs/imx6ul_geam_mmc_defconfig         |  1 +
  configs/imx6ul_geam_nand_defconfig        |  1 +
  configs/imx6ul_isiot_emmc_defconfig       |  1 +
  configs/imx6ul_isiot_nand_defconfig       |  1 +
  configs/jetson-tk1_defconfig              |  1 +
  configs/kp_imx6q_tpc_defconfig            |  1 +
  configs/kylin-rk3036_defconfig            |  1 +
  configs/lion-rk3368_defconfig             |  1 +
  configs/liteboard_defconfig               |  1 +
  configs/marsboard_defconfig               |  1 +
  configs/mccmon6_nor_defconfig             |  1 +
  configs/mccmon6_sd_defconfig              |  1 +
  configs/medcom-wide_defconfig             |  1 +
  configs/miqi-rk3288_defconfig             |  1 +
  configs/mx23_olinuxino_defconfig          |  1 +
  configs/mx23evk_defconfig                 |  1 +
  configs/mx28evk_auart_console_defconfig   |  1 +
  configs/mx28evk_defconfig                 |  1 +
  configs/mx28evk_nand_defconfig            |  1 +
  configs/mx28evk_spi_defconfig             |  1 +
  configs/mx6cuboxi_defconfig               |  1 +
  configs/mx6dlarm2_defconfig               |  1 +
  configs/mx6dlarm2_lpddr2_defconfig        |  1 +
  configs/mx6memcal_defconfig               |  1 +
  configs/mx6qarm2_defconfig                |  1 +
  configs/mx6qarm2_lpddr2_defconfig         |  1 +
  configs/mx6qsabrelite_defconfig           |  1 +
  configs/mx6sabreauto_defconfig            |  1 +
  configs/mx6sabresd_defconfig              |  1 +
  configs/mx6slevk_defconfig                |  1 +
  configs/mx6slevk_spinor_defconfig         |  1 +
  configs/mx6slevk_spl_defconfig            |  1 +
  configs/mx6sllevk_defconfig               |  1 +
  configs/mx6sllevk_plugin_defconfig        |  1 +
  configs/mx6sxsabreauto_defconfig          |  1 +
  configs/mx6sxsabresd_defconfig            |  1 +
  configs/mx6sxsabresd_spl_defconfig        |  1 +
  configs/mx6ul_14x14_evk_defconfig         |  1 +
  configs/mx6ul_9x9_evk_defconfig           |  1 +
  configs/mx6ull_14x14_evk_defconfig        |  1 +
  configs/mx6ull_14x14_evk_plugin_defconfig |  1 +
  configs/mx7dsabresd_defconfig             |  1 +
  configs/mx7dsabresd_qspi_defconfig        |  1 +
  configs/mx7ulp_evk_defconfig              |  1 +
  configs/mx7ulp_evk_plugin_defconfig       |  1 +
  configs/nitrogen6dl2g_defconfig           |  1 +
  configs/nitrogen6dl_defconfig             |  1 +
  configs/nitrogen6q2g_defconfig            |  1 +
  configs/nitrogen6q_defconfig              |  1 +
  configs/nitrogen6s1g_defconfig            |  1 +
  configs/nitrogen6s_defconfig              |  1 +
  configs/novena_defconfig                  |  1 +
  configs/nyan-big_defconfig                |  1 +
  configs/odroid-xu3_defconfig              |  1 +
  configs/odroid_defconfig                  |  1 +
  configs/opos6uldev_defconfig              |  1 +
  configs/origen_defconfig                  |  1 +
  configs/ot1200_defconfig                  |  1 +
  configs/ot1200_spl_defconfig              |  1 +
  configs/p2371-0000_defconfig              |  1 +
  configs/p2371-2180_defconfig              |  1 +
  configs/p2571_defconfig                   |  1 +
  configs/p2771-0000-000_defconfig          |  1 +
  configs/p2771-0000-500_defconfig          |  1 +
  configs/paz00_defconfig                   |  1 +
  configs/pcm058_defconfig                  |  1 +
  configs/peach-pi_defconfig                |  1 +
  configs/peach-pit_defconfig               |  1 +
  configs/pfla02_defconfig                  |  1 +
  configs/phycore-rk3288_defconfig          |  1 +
  configs/pico-hobbit-imx6ul_defconfig      |  1 +
  configs/pico-hobbit-imx7d_defconfig       |  1 +
  configs/pico-imx6ul_defconfig             |  1 +
  configs/pico-imx7d_defconfig              |  1 +
  configs/pico-pi-imx6ul_defconfig          |  1 +
  configs/pico-pi-imx7d_defconfig           |  1 +
  configs/platinum_picon_defconfig          |  1 +
  configs/platinum_titanium_defconfig       |  1 +
  configs/plutux_defconfig                  |  1 +
  configs/poplar_defconfig                  |  1 +
  configs/popmetal-rk3288_defconfig         |  1 +
  configs/puma-rk3399_defconfig             |  1 +
  configs/riotboard_defconfig               |  1 +
  configs/rock2_defconfig                   |  1 +
  configs/rock_defconfig                    |  1 +
  configs/s5pc210_universal_defconfig       |  1 +
  configs/sansa_fuze_plus_defconfig         |  1 +
  configs/sc_sps_1_defconfig                |  1 +
  configs/seaboard_defconfig                |  1 +
  configs/secomx6quq7_defconfig             |  1 +
  configs/sheep-rk3368_defconfig            |  1 +
  configs/sksimx6_defconfig                 |  1 +
  configs/smdk5250_defconfig                |  1 +
  configs/smdk5420_defconfig                |  1 +
  configs/smdkv310_defconfig                |  1 +
  configs/snow_defconfig                    |  1 +
  configs/socfpga_arria10_defconfig         |  1 +
  configs/socfpga_arria5_defconfig          |  1 +
  configs/socfpga_cyclone5_defconfig        |  1 +
  configs/socfpga_dbm_soc1_defconfig        |  1 +
  configs/socfpga_de0_nano_soc_defconfig    |  1 +
  configs/socfpga_de10_nano_defconfig       |  1 +
  configs/socfpga_de1_soc_defconfig         |  1 +
  configs/socfpga_sockit_defconfig          |  1 +
  configs/socfpga_socrates_defconfig        |  1 +
  configs/socfpga_sr1500_defconfig          |  1 +
  configs/socfpga_stratix10_defconfig       |  1 +
  configs/socfpga_vining_fpga_defconfig     |  1 +
  configs/spring_defconfig                  |  1 +
  configs/tbs2910_defconfig                 |  1 +
  configs/tec-ng_defconfig                  |  1 +
  configs/tec_defconfig                     |  1 +
  configs/tinker-rk3288_defconfig           |  1 +
  configs/titanium_defconfig                |  1 +
  configs/tqma6dl_mba6_mmc_defconfig        |  1 +
  configs/tqma6dl_mba6_spi_defconfig        |  1 +
  configs/tqma6q_mba6_mmc_defconfig         |  1 +
  configs/tqma6q_mba6_spi_defconfig         |  1 +
  configs/tqma6s_mba6_mmc_defconfig         |  1 +
  configs/tqma6s_mba6_spi_defconfig         |  1 +
  configs/tqma6s_wru4_mmc_defconfig         |  1 +
  configs/trats2_defconfig                  |  1 +
  configs/trats_defconfig                   |  1 +
  configs/trimslice_defconfig               |  1 +
  configs/ts4600_defconfig                  |  1 +
  configs/udoo_defconfig                    |  1 +
  configs/udoo_neo_defconfig                |  1 +
  configs/venice2_defconfig                 |  1 +
  configs/ventana_defconfig                 |  1 +
  configs/vining_2000_defconfig             |  1 +
  configs/vyasa-rk3288_defconfig            |  1 +
  configs/wandboard_defconfig               |  1 +
  configs/warp7_bl33_defconfig              |  1 +
  configs/warp7_defconfig                   |  1 +
  configs/warp_defconfig                    |  1 +
  configs/xfi3_defconfig                    |  1 +
  configs/xpress_defconfig                  |  1 +
  configs/xpress_spl_defconfig              |  1 +
  configs/zc5202_defconfig                  |  1 +
  configs/zc5601_defconfig                  |  1 +
  drivers/mmc/Kconfig                       |  3 +++
  include/configs/axs10x.h                  |  5 -----
  include/configs/bcm_ep_board.h            |  3 ---
  include/configs/emsdp.h                   |  3 ---
  include/configs/exynos-common.h           |  3 ---
  include/configs/hikey.h                   |  3 ---
  include/configs/hsdk.h                    |  5 -----
  include/configs/iot_devkit.h              |  3 ---
  include/configs/mx6_common.h              |  1 -
  include/configs/mx7_common.h              |  1 -
  include/configs/mx7ulp_evk.h              |  1 -
  include/configs/mxs.h                     |  5 -----
  include/configs/poplar.h                  |  3 ---
  include/configs/rk3036_common.h           |  3 ---
  include/configs/rk3128_common.h           |  3 ---
  include/configs/rk3188_common.h           |  3 ---
  include/configs/rk322x_common.h           |  3 ---
  include/configs/rk3288_common.h           |  3 ---
  include/configs/rk3328_common.h           |  4 ----
  include/configs/rk3368_common.h           |  2 --
  include/configs/rk3399_common.h           |  1 -
  include/configs/rv1108_common.h           |  3 ---
  include/configs/socfpga_common.h          |  1 -
  include/configs/socfpga_stratix10_socdk.h |  1 -
  include/configs/tegra-common.h            |  3 ---
  scripts/config_whitelist.txt              |  1 -
  232 files changed, 220 insertions(+), 67 deletions(-)