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