diff mbox series

[2/2] configs: starfive_visionfive2: allocate bounce buffer from heap

Message ID 20241127071250.736762-3-sughosh.ganu@linaro.org
State New
Headers show
Series bouncebuf: Allow allocation from U-Boot heap | expand

Commit Message

Sughosh Ganu Nov. 27, 2024, 7:12 a.m. UTC
The boards using this config have a mmc controller IP which is unable
to access memory regions above 4GB. Enable the
CONFIG_BOUNCE_BUFFER_ALLOC config for these platforms. This symbol
forces the allocation of the bounce buffer to be done from the U-Boot
heap area.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
---
 configs/starfive_visionfive2_defconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig
index 20f89ae679..bd071880aa 100644
--- a/configs/starfive_visionfive2_defconfig
+++ b/configs/starfive_visionfive2_defconfig
@@ -86,6 +86,7 @@  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
+CONFIG_BOUNCE_BUFFER_ALLOC=y
 CONFIG_SPL_CLK_COMPOSITE_CCF=y
 CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_SPL_CLK_JH7110=y