]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: DRA7xx: Fix memory allocation overflow
authorAndrew F. Davis <afd@ti.com>
Wed, 15 Feb 2017 15:16:53 +0000 (09:16 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 17 Feb 2017 22:24:35 +0000 (17:24 -0500)
commit575d5794c762ef357c64ed1db53368eb9c04abb2
treec2f6d22371e38671efaf857f64924dd2b9660a9b
parent536b2128f1bea11d8d4e9d273e9aaa14bb154003
ARM: DRA7xx: Fix memory allocation overflow

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@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/include/asm/arch-omap5/omap.h