From: Siva Durga Prasad Paladugu Date: Fri, 8 Sep 2017 11:55:24 +0000 (+0530) Subject: zynq: zc770_xm010: Decrease initial malloc size X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b214b6b35e1e6a452e83adddd35f036d3cc8218a;p=thirdparty%2Fu-boot.git zynq: zc770_xm010: Decrease initial malloc size This patch decreases initial malloc size as keeping it more decreases the init stack size and hence causing exception due to stack overflow. Also 0x800 should be fine for malloc before relocation. The initial stack pointer is calculated as below. CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/configs/zynq_zc770_xm010_defconfig b/configs/zynq_zc770_xm010_defconfig index 253b1e7a013..9eef3259fa5 100644 --- a/configs/zynq_zc770_xm010_defconfig +++ b/configs/zynq_zc770_xm010_defconfig @@ -1,6 +1,6 @@ CONFIG_ARM=y CONFIG_ARCH_ZYNQ=y -CONFIG_SYS_MALLOC_F_LEN=0x8000 +CONFIG_SYS_MALLOC_F_LEN=0x800 CONFIG_SYS_TEXT_BASE=0x4000000 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm010" CONFIG_FIT=y