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)
commit66c246cce7c66019a93ff7105157c3e2126dd277
treec2f6d22371e38671efaf857f64924dd2b9660a9b
parent4aac44be11a44b72a87de2ee751aa1fcd4960fef
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