diff options
author | Andrew F. Davis <afd@ti.com> | 2017-02-15 09:16:53 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-17 17:24:35 -0500 |
commit | 66c246cce7c66019a93ff7105157c3e2126dd277 (patch) | |
tree | c2f6d22371e38671efaf857f64924dd2b9660a9b /arch/arm/include/asm/arch-omap5/omap.h | |
parent | 4aac44be11a44b72a87de2ee751aa1fcd4960fef (diff) |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5/omap.h')
-rw-r--r-- | arch/arm/include/asm/arch-omap5/omap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap5/omap.h b/arch/arm/include/asm/arch-omap5/omap.h index b5e5519fbd..8f31da1a7b 100644 --- a/arch/arm/include/asm/arch-omap5/omap.h +++ b/arch/arm/include/asm/arch-omap5/omap.h @@ -188,7 +188,7 @@ struct s32ktimer { #if defined(CONFIG_DRA7XX) #define NON_SECURE_SRAM_START 0x40300000 #define NON_SECURE_SRAM_END 0x40380000 /* Not inclusive */ -#define NON_SECURE_SRAM_IMG_END 0x4037E000 +#define NON_SECURE_SRAM_IMG_END 0x4037C000 #else #define NON_SECURE_SRAM_START 0x40300000 #define NON_SECURE_SRAM_END 0x40320000 /* Not inclusive */ |