Readjust BL2 size after sharing Mbed TLS heap
authorJohn Tsichritzis <john.tsichritzis@arm.com>
Fri, 7 Sep 2018 13:05:41 +0000 (14:05 +0100)
committerJohn Tsichritzis <john.tsichritzis@arm.com>
Fri, 7 Sep 2018 13:05:41 +0000 (14:05 +0100)
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 <john.tsichritzis@arm.com>
include/plat/arm/board/common/board_arm_def.h

index 86c85123ee1d941cb68b6e14b6c0ac0a465abccb..9af8f8c43666c3d4f08ba632bc889ccafd9c0d5c 100644 (file)
  * 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