aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-05-03 14:05:04 -0300
committerStefano Babic <sbabic@denx.de>2019-06-11 10:42:48 +0200
commit08919d381cf3d2adb2c2c15b9598767720ad3c7b (patch)
treedf005c2d99761f2c3d9319fa28ae9a40b714086f /include
parenta3f358a2273812d423fbbc5ed37685a6b8f8ba15 (diff)
downloadu-boot-08919d381cf3d2adb2c2c15b9598767720ad3c7b.zip
u-boot-08919d381cf3d2adb2c2c15b9598767720ad3c7b.tar.gz
u-boot-08919d381cf3d2adb2c2c15b9598767720ad3c7b.tar.bz2
imx: Use a convenient default value for SYS_MALLOC_F_LEN
Commit 3a7c45f6a772 ("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 (0x400) 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. Reported-by: Pierre-Jean Texier <pjtexier@koncepto.io> Suggested-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Signed-off-by: Fabio Estevam <festevam@gmail.com> Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io> Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Peng Fan <peng.fan@nxp.com> Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions