]> git.baikalelectronics.ru Git - uboot.git/commit
imx: variscite: Fix regression of SPL and U-boot booting
authorSaravanan Sekar <saravanan@linumiz.com>
Sun, 4 Aug 2019 17:36:42 +0000 (19:36 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:37 +0000 (16:36 +0200)
commit1773e541cd9c256bddb7ccc4d2a563f6a3408c0a
treebddbfb024acb46979def97643534525f79a23a8c
parent9ef79d955de2b0423edf53650e590f1c9bb8ec47
imx: variscite: Fix regression of SPL and U-boot booting

1. Commit 04991e58dd88 ("simple-bus: add DM_FLAG_PRE_RELOC flag to
simple-bus driver") causes some i.MX boards that were converted
to DM, such as warp7, to fail to boot.

As explained by Lukas Auer:

"With the patch, U-Boot probes the drivers for devices under simple-bus
device tree nodes in the pre-relocation device model. The default value
of CONFIG_SYS_MALLOC_F_LEN (0x4000) leaves U-Boot with not enough memory to
do this, causing it to hang."

Fix this problem by providing a convenient default value for
CONFIG_SYS_MALLOC_F_LEN.

2. CONFIG_SPL_TEXT_BASE was moved to Kconfig, so added in defconfig
"configs: move CONFIG_SPL_TEXT_BASE to Kconfig"
(sha1: a5c9e0542040cd1805a8efc58e1983ecca70abc8)

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
configs/variscite_dart6ul_defconfig