[U-Boot] [PATCH] ARM: DRA7xx: Fix memory allocation overflow

Tom Rini trini at konsulko.com
Wed Feb 15 17:04:49 UTC 2017


On Wed, Feb 15, 2017 at 09:16:53AM -0600, Andrew F. Davis wrote:

> When using early malloc the allocated memory can overflow into the SRAM
> scratch space, move NON_SECURE_SRAM_IMG_END down a bit to allow more
> dynamic allocation at the expense of a slightly smaller maximum image
> size.
> 
> Signed-off-by: Andrew F. Davis <afd at ti.com>
> Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>

Er, I thought we could define how big the early malloc pool is and not
have this type of problem?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170215/757ee972/attachment.sig>


More information about the U-Boot mailing list