]> git.baikalelectronics.ru Git - uboot.git/commit
xilinx: zynqmp: increase CONFIG_SYS_SPL_MALLOC_SIZE to 16MB
authorRicardo Salveti <ricardo@foundries.io>
Tue, 6 Jul 2021 23:43:01 +0000 (20:43 -0300)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jul 2021 07:18:44 +0000 (09:18 +0200)
commit4554cedb38ce5526f8b521e14bc96420e698e85c
tree39251e704a4a5d20d519258fb46e8e3b2bce97b2
parent18bdc0fa453981826f24c1f02107239be19b1505
xilinx: zynqmp: increase CONFIG_SYS_SPL_MALLOC_SIZE to 16MB

commit 9630fed0f936 ("spl: fit: Prefer a malloc()'d buffer for loading
images")' changed the way buffer allocation worked for SPL to a more
flexible method.

For xilinx zynqmp the 1MB buffer is not necessarily enough when dealing
with complex fit images (e.g. containing FPGA/TF-A/OP-TEE/U-Boot
proper), which can easily reach up to 10MB, so increase the default
CONFIG_SYS_SPL_MALLOC_SIZE size to 16MB to cover more advanced
scenarios.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h