From 2dac2c0b413b75f009d4e6fe70863bbf9cae7f36 Mon Sep 17 00:00:00 2001 From: John Tsichritzis Date: Fri, 7 Sep 2018 14:05:41 +0100 Subject: [PATCH] Readjust BL2 size after sharing Mbed TLS heap After introducing the Mbed TLS shared heap optimisation, reducing BL2 size by 3 pages didn't leave enough space for growth. We give 1 page back to maximum BL2 size. Change-Id: I4f05432f00b923693160f69a4e4ec310a37a2b16 Signed-off-by: John Tsichritzis --- include/plat/arm/board/common/board_arm_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/plat/arm/board/common/board_arm_def.h b/include/plat/arm/board/common/board_arm_def.h index 86c85123e..9af8f8c43 100644 --- a/include/plat/arm/board/common/board_arm_def.h +++ b/include/plat/arm/board/common/board_arm_def.h @@ -102,7 +102,7 @@ * little space for growth. */ #if TRUSTED_BOARD_BOOT -# define PLAT_ARM_MAX_BL2_SIZE 0x1C000 +# define PLAT_ARM_MAX_BL2_SIZE 0x1D000 #else # define PLAT_ARM_MAX_BL2_SIZE 0x11000 #endif -- GitLab