]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: zynq: Change SYS_MALLOC_LEN in zynq_cse_nand_defconfig
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Mon, 20 Apr 2020 04:19:54 +0000 (22:19 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 27 Apr 2020 12:21:18 +0000 (14:21 +0200)
commit7a3e239e90ec6f7a34c73508cf05d181d700c607
tree3c471098fe1956284475402e2d6933514feb1f3d
parente86dce1c0c240b8f548d757c80bd65f38d37512e
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>
configs/zynq_cse_nand_defconfig