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

Sughosh Ganu sughosh.ganu at linaro.org
Wed Nov 27 08:12:50 CET 2024


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 at linaro.org>
---
 configs/starfive_visionfive2_defconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.34.1



More information about the U-Boot mailing list