summaryrefslogtreecommitdiff
path: root/configs/zynq_cse_nand_defconfig
diff options
context:
space:
mode:
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>2020-04-19 22:19:54 -0600
committerMichal Simek <michal.simek@xilinx.com>2020-04-27 14:21:18 +0200
commit7a3e239e90ec6f7a34c73508cf05d181d700c607 (patch)
tree3c471098fe1956284475402e2d6933514feb1f3d /configs/zynq_cse_nand_defconfig
parente86dce1c0c240b8f548d757c80bd65f38d37512e (diff)
ARM: zynq: Change SYS_MALLOC_LEN in zynq_cse_nand_defconfig
nand_scan_tail() function allocates memory dynamically for struct nand_buffers which needs ~21kbytes of memory. But the memory alloted with CONFIG_SYS_MALLOC_LEN is 4k which is insufficient. Increase CONFIG_SYS_MALLOC_LEN to 32Kbytes from which struct nand_buffers uses ~21kbytes & remaining memory is used for other. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'configs/zynq_cse_nand_defconfig')
-rw-r--r--configs/zynq_cse_nand_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/zynq_cse_nand_defconfig b/configs/zynq_cse_nand_defconfig
index 2b58c461c3..80a427d905 100644
--- a/configs/zynq_cse_nand_defconfig
+++ b/configs/zynq_cse_nand_defconfig
@@ -4,7 +4,7 @@ CONFIG_SYS_ICACHE_OFF=y
CONFIG_SYS_DCACHE_OFF=y
CONFIG_ARCH_ZYNQ=y
CONFIG_SYS_TEXT_BASE=0x100000
-CONFIG_SYS_MALLOC_LEN=0x1000
+CONFIG_SYS_MALLOC_LEN=0x8000
CONFIG_ENV_SIZE=0x190
CONFIG_SPL_STACK_R_ADDR=0x200000
CONFIG_SPL=y