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

Stefano Babic sbabic at denx.de
Tue Dec 1 15:18:00 CET 2015


Hi Marek,

On 01/12/2015 00:31, Marek Vasut 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.

No, it copies directly into the RAM.  Large malloc area are not needed
for Falcon Mode, and I have not idea who needs a large area. More as
instantiating SPI or I2C is generally not needed.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list