summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@foundries.io>2021-07-06 20:43:01 -0300
committerMichal Simek <michal.simek@xilinx.com>2021-07-26 09:18:44 +0200
commit677a24cbc3ef47bef355df45eff289d2dc371df0 (patch)
tree39251e704a4a5d20d519258fb46e8e3b2bce97b2 /include
parentec22c365e3d21c8a5c20413d537042527b33a6cf (diff)
downloadu-boot-677a24cbc3ef47bef355df45eff289d2dc371df0.tar.gz
u-boot-677a24cbc3ef47bef355df45eff289d2dc371df0.tar.bz2
u-boot-677a24cbc3ef47bef355df45eff289d2dc371df0.zip
xilinx: zynqmp: increase CONFIG_SYS_SPL_MALLOC_SIZE to 16MB
commit 03f1f78a9b44 ("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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/xilinx_zynqmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index cadaf1a963..bfe8a20427 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -261,7 +261,7 @@
#endif
#define CONFIG_SYS_SPL_MALLOC_START 0x20000000
-#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000
+#define CONFIG_SYS_SPL_MALLOC_SIZE 0x1000000
#ifdef CONFIG_SPL_SYS_MALLOC_SIMPLE
# error "Disable CONFIG_SPL_SYS_MALLOC_SIMPLE. Full malloc needs to be used"