From 8c2d42d526574a6d972d7711660b652d2aeba7e1 Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Mon, 17 Jun 2019 11:08:34 +0800 Subject: [PATCH] poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is a regression seen on Poplar platform, which doesn't even show a U-Boot version banner on booting. It turns out that due to landing of commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver"), we need to increase SYS_MALLOC_F_LEN from its default size 0x400, as pre-relocation requires more memory there. Let's increase SYS_MALLOC_F_LEN to 0x4000 to fix the regression. Thanks to Andreas Färber for reporting, and Bin Meng for trouble shooting. Reported-by: Andreas Färber Signed-off-by: Shawn Guo Reviewed-by: Bin Meng Tested-by: Andreas Färber --- configs/poplar_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/poplar_defconfig b/configs/poplar_defconfig index dfde6541c2..62eaaee370 100644 --- a/configs/poplar_defconfig +++ b/configs/poplar_defconfig @@ -1,6 +1,7 @@ CONFIG_ARM=y CONFIG_TARGET_POPLAR=y CONFIG_SYS_TEXT_BASE=0x37000000 +CONFIG_SYS_MALLOC_F_LEN=0x4000 CONFIG_NR_DRAM_BANKS=2 CONFIG_IDENT_STRING="poplar" CONFIG_DISTRO_DEFAULTS=y