From 0737bd33faba5c9e6a0e98969e015430e2782332 Mon Sep 17 00:00:00 2001 From: Nishant Sharma Date: Fri, 16 Dec 2022 01:10:07 +0000 Subject: [PATCH] fix(sgi): increase BL31 carveout size With SPMC at el3 enabled on rdn2cfg2 configuration BL31 needs more memory region to accommodate increased xlat table size. Increase the size by 16K. Signed-off-by: Nishant Sharma Change-Id: Ib235fe35d53a9b85a5ce0a29f2ec4cc3bd85ded9 --- 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 610f1fcb1..3ab07cd5f 100644 --- a/plat/arm/css/sgi/include/sgi_base_platform_def.h +++ b/plat/arm/css/sgi/include/sgi_base_platform_def.h @@ -105,7 +105,7 @@ * A buffer of ~35KB is added to account for future expansion of the image, * making it a total of 100KB. */ -#define CSS_SGI_BL31_SIZE (100 * 1024) /* 100 KB */ +#define CSS_SGI_BL31_SIZE (116 * 1024) /* 116 KB */ #define PLAT_ARM_MAX_BL31_SIZE (CSS_SGI_BL31_SIZE + \ PLAT_ARM_MAX_BL2_SIZE + \ PLAT_ARM_MAX_BL1_RW_SIZE)