From dcb1959161935aa58d2bb852f3cef0b96458a4e1 Mon Sep 17 00:00:00 2001 From: Manish V Badarkhe Date: Tue, 22 Feb 2022 14:45:43 +0000 Subject: [PATCH] fix(arm): increase ARM_BL_REGIONS count On RME-enabled platforms, it is currently not possible to incorporate mapping of all bl_regions specified in bl31 setup[1] with the ARM_BL_REGIONS macro defined to 6. Hence increased its count to 7. [1]: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/ plat/arm/common/arm_bl31_setup.c#n380 Change-Id: Ieaa97f026ab2ae6eae22442595aa4122ba0a13c4 Signed-off-by: Manish V Badarkhe --- include/plat/arm/common/arm_def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index 1993cb401..2af8c11c4 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2021, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2022, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -381,7 +381,7 @@ * The max number of regions like RO(code), coherent and data required by * different BL stages which need to be mapped in the MMU. */ -#define ARM_BL_REGIONS 6 +#define ARM_BL_REGIONS 7 #define MAX_MMAP_REGIONS (PLAT_ARM_MMAP_ENTRIES + \ ARM_BL_REGIONS)