summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Paul-Trifu <lucian.paultrifu@gmail.com>2022-02-23 09:34:45 +0000
committerManish V Badarkhe <Manish.Badarkhe@arm.com>2022-10-05 15:25:28 +0100
commit44df105ff867aeb2aa5d20faa3e8389866099956 (patch)
treef855b8985c98d372f7089976ab61087cc04dab6d
parentd72c486b52dc654e4216d41dcc1b0f87bdbdf3e9 (diff)
downloadarm-trusted-firmware-44df105ff867aeb2aa5d20faa3e8389866099956.tar.gz
feat(fvp): increase BL31's stack size for DRTM support
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
-rw-r--r--plat/arm/board/fvp/include/platform_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/arm/board/fvp/include/platform_def.h b/plat/arm/board/fvp/include/platform_def.h
index e1bf46d14..c41cb9511 100644
--- a/plat/arm/board/fvp/include/platform_def.h
+++ b/plat/arm/board/fvp/include/platform_def.h
@@ -247,7 +247,11 @@
#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)