fvp: Increase the size of the stack for FVP
authorLouis Mayencourt <louis.mayencourt@arm.com>
Wed, 13 Mar 2019 17:11:35 +0000 (17:11 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Thu, 14 Mar 2019 16:02:15 +0000 (16:02 +0000)
When RECLAIM_INIT_CODE is 1, the stack is used to contain the .text.init
section. This is by default enable on FVP. Due to the size increase of
the .text.init section, the stack had to be adjusted contain it.

Change-Id: Ia392341970fb86c0426cf2229b1a7295453e2e32
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
plat/arm/board/fvp/include/platform_def.h

index 780e6fcbf7ec9146a52312607024b5ed6bc16498..6856a286ff914c521febb542e172167eef005bf7 100644 (file)
 #elif defined(IMAGE_BL2U)
 # define PLATFORM_STACK_SIZE           UL(0x400)
 #elif defined(IMAGE_BL31)
-# if ENABLE_SPM
-#  define PLATFORM_STACK_SIZE          UL(0x600)
-# elif PLAT_XLAT_TABLES_DYNAMIC
 #  define PLATFORM_STACK_SIZE          UL(0x800)
-# else
-#  define PLATFORM_STACK_SIZE          UL(0x400)
-# endif
 #elif defined(IMAGE_BL32)
 # define PLATFORM_STACK_SIZE           UL(0x440)
 #endif