]> git.ipfire.org Git - people/ms/u-boot.git/commit
rockchip: Explicitly set CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 22 Nov 2015 07:21:04 +0000 (08:21 +0100)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 15:07:22 +0000 (08:07 -0700)
commit00ea76e8004e8582798123f3698f91b32514810f
tree6e0f8f55ea3ff6b3a809c96e3d4915ccda25c9c6
parentd76a0119c7980245e9fc13af28c4a594e34ab334
rockchip: Explicitly set CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN

Now that u-boot relocates the malloc area in SPL to SDRAM, with the
malloc area sitting below the SPL_STACK_R_ADDR the
SPL_STACK_R_MALLOC_SIMPLE_LEN needs to be set explicitly for
rockchip as its SPL_STACK_R_ADDR (512kb) is smaller then
STACK_R_MALLOC_SIMPLE_LEN (1Mb).

Using the same value as SYS_MALLOC_F_LEN (8kb) is enough to load u-boot
from SD card.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: Simon Glass <sjg@chromium.org>
configs/chromebook_jerry_defconfig
configs/firefly-rk3288_defconfig