]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(fvp): increase BL31's stack size for DRTM support
authorLucian Paul-Trifu <lucian.paultrifu@gmail.com>
Wed, 23 Feb 2022 09:34:45 +0000 (09:34 +0000)
committerManish V Badarkhe <Manish.Badarkhe@arm.com>
Wed, 5 Oct 2022 14:25:28 +0000 (15:25 +0100)
The stack size of BL31 has been increased to accommodate the
introduction of mbedTLS support for DRTM.

Signed-off-by: Manish V Badarkhe <manish.badarkhe@arm.com>
Signed-off-by: Lucian Paul-Trifu <lucian.paultrifu@gmail.com>
Change-Id: Id0beacf4df553af4ecbe714af20e71604ccfed59

plat/arm/board/fvp/include/platform_def.h

index e1bf46d14fafaa62fce7bc5c605958408f2f84d6..c41cb9511924137f3528557446e42c22ee300be0 100644 (file)
 #elif defined(IMAGE_BL2U)
 # define PLATFORM_STACK_SIZE           UL(0x400)
 #elif defined(IMAGE_BL31)
+# if DRTM_SUPPORT
+#  define PLATFORM_STACK_SIZE          UL(0x1000)
+# else
 #  define PLATFORM_STACK_SIZE          UL(0x800)
+# endif /* DRTM_SUPPORT */
 #elif defined(IMAGE_BL32)
 # if SPMC_AT_EL3
 #  define PLATFORM_STACK_SIZE          UL(0x1000)