[U-Boot] [PATCH 2/2] rockchip: rk3399-puma: Enable SPL_BOUNCE_BUFFER_STATIC.

Christoph Muellner christoph.muellner at theobroma-systems.com
Tue May 7 09:09:36 UTC 2019


Since the DMA-engine of the RK3399 cannot directly copy the
ATF SRAM/PMUSRAM memory sections to their destination, we need
to use bounce-buffers. This results in allocation of a huge amount
of heap memory, which can't be reused (because of simple-malloc).

Therefore we enable the static bounce buffer method.

Signed-off-by: Christoph Muellner <christoph.muellner at theobroma-systems.com>
---

 configs/puma-rk3399_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig
index 964464ac0f..cb652922e3 100644
--- a/configs/puma-rk3399_defconfig
+++ b/configs/puma-rk3399_defconfig
@@ -23,6 +23,7 @@ CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_SPL_TEXT_BASE=0xff8c2000
+CONFIG_SPL_BOUNCE_BUFFER_STATIC=y
 CONFIG_SPL_BOARD_INIT=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 # CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set
-- 
2.11.0



More information about the U-Boot mailing list