[U-Boot] [PATCH 2/2] rockchip: Explicitely set CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN

Simon Glass sjg at chromium.org
Fri Nov 27 04:35:52 CET 2015


On 23 November 2015 at 01:50, Sjoerd Simons
<sjoerd.simons at collabora.co.uk> wrote:
> On Sun, 2015-11-22 at 09:11 -0700, Simon Glass wrote:
>> On 22 November 2015 at 00:21, Sjoerd Simons
>> <sjoerd.simons at collabora.co.uk> wrote:
>> > 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 explicitely 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 at collabora.co.uk>
>> >
>> > ---
>> >
>> >  configs/chromebook_jerry_defconfig | 1 +
>> >  configs/firefly-rk3288_defconfig   | 1 +
>> >  2 files changed, 2 insertions(+)
>>
>> Explicitly (I can fix when applying if you like)
>>
>> Acked-by: Simon Glass <sjg at chromium.org>
>
> Yes please, saves doing another round :) Thanks!
>
> --
> Sjoerd Simons
> Collabora Ltd.

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list