From 7186a29bbfe3044d5e8001ddfe1d9238578e0944 Mon Sep 17 00:00:00 2001 From: Vijayenthiran Subramaniam Date: Wed, 6 Oct 2021 15:12:25 +0530 Subject: [PATCH] feat(plat/arm/sgi): increase max BL2 size Increase `PLAT_ARM_MAX_BL2_SIZE` to 128KiB for the primary chip to accommodate debug builds with log level set to verbose (LOG_LEVEL=LOG_LEVEL_VERBOSE). Signed-off-by: Vijayenthiran Subramaniam Change-Id: I9dc835430f61b0d0c46a75f7a36d67f165293c8c --- plat/arm/css/sgi/include/sgi_base_platform_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/arm/css/sgi/include/sgi_base_platform_def.h b/plat/arm/css/sgi/include/sgi_base_platform_def.h index d795f258e..c9c8c0463 100644 --- a/plat/arm/css/sgi/include/sgi_base_platform_def.h +++ b/plat/arm/css/sgi/include/sgi_base_platform_def.h @@ -89,7 +89,7 @@ * */ #if TRUSTED_BOARD_BOOT -# define PLAT_ARM_MAX_BL2_SIZE (0x1D000 + ((CSS_SGI_CHIP_COUNT - 1) * \ +# define PLAT_ARM_MAX_BL2_SIZE (0x20000 + ((CSS_SGI_CHIP_COUNT - 1) * \ 0x2000)) #else # define PLAT_ARM_MAX_BL2_SIZE (0x14000 + ((CSS_SGI_CHIP_COUNT - 1) * \