From 44df105ff867aeb2aa5d20faa3e8389866099956 Mon Sep 17 00:00:00 2001 From: Lucian Paul-Trifu Date: Wed, 23 Feb 2022 09:34:45 +0000 Subject: [PATCH] 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 Signed-off-by: Lucian Paul-Trifu Change-Id: Id0beacf4df553af4ecbe714af20e71604ccfed59 --- plat/arm/board/fvp/include/platform_def.h | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.5