]> git.baikalelectronics.ru Git - uboot.git/commit
poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support
authorShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2019 03:08:34 +0000 (11:08 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 1 Jul 2019 13:35:56 +0000 (09:35 -0400)
commitcae00270d3161ef5a33d6910b306c918b654c889
treec1811a0ee5a36abf19575714adbbdb8a685f7c3f
parent54862bbf5a977c20ec2cdffdbc0250b8291f4177
poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support

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 04991e58dd88 ("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 <afaerber@suse.de> for reporting, and Bin Meng
<bmeng.cn@gmail.com> for trouble shooting.

Reported-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Andreas Färber <afaerber@suse.de>
configs/poplar_defconfig