[U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

Fabio Estevam festevam at gmail.com
Tue Nov 10 16:38:45 CET 2015


On Tue, Nov 10, 2015 at 1:21 PM, Simon Glass <sjg at chromium.org> wrote:

> Is this patch against mainline or does your tree have other changes?

This change is against a clean mainline tree.


>>      /* DDR initialization */
>>      spl_dram_init();
>>
>> It is the ame issue I reported back in August:
>> http://lists.denx.de/pipermail/u-boot/2015-August/222406.html
>>
>> After I followed your suggestion to call spl_init() prior to malloc()
>> the issue went away.
>>
>> However with 5ba534d247d4 applied, this no longer works, so I am
>> interested in knowing the appropriate way to fix this malloc() issue
>> inside SPL.
>
> Are you using CONFIG_SYS_MALLOC_F?

No, I am not, but I have also tried adding CONFIG_SYS_MALLOC_F_LEN
inside configs/mx6sabresd_spl_defconfig, but it did not help.

Regards,

Fabio Estevam


More information about the U-Boot mailing list