[U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

Tim Harvey
2015-12-01T14:13:17Z

On Mon, Nov 30, 2015 at 3:31 PM, Marek Vasut <marex@denx.de> wrote:
>>
>> Perhaps the use case for a >1MB malloc area is falcon mode. While a
>> 1MB area certainly works for loading and bootstrapping to u-boot.img I
>> have used anywhere from 1MB to 8MB images for falcon mode.
>
> Does the falcon mode load the image into malloc'd area or directly into
> RAM location ? If it's the former, then yeah, large malloc pool makes
> sense and MALLOC_CLEAR_ON_INIT makes sense as well I guess.

Marek,

I checked and Falcon mode does load images directly into RAM so large
malloc still doesn't make sense and should be reduced. I think 1MB is
a fine value.

Tim