From: Akshay Belsare Date: Wed, 15 Feb 2023 11:59:42 +0000 (+0530) Subject: fix(zynqmp): update MAX_XLAT_TABLES for DDR memory range X-Git-Tag: baikal/aarch64/sdk5.10~1^2~211^2~1 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=12446ce89e351959aebb610eb2e35cdc7eb84d26;p=arm-tf.git fix(zynqmp): update MAX_XLAT_TABLES for DDR memory range An assert is observed when the bl31 is placed in DDR memory range and DEBUG is also enabled. To resolve this, increase the size of MAX_XLAT_TABLES to 8 when bl31 is placed in DDR memory range. Change-Id: I7d35cba01cd5c8cfc8aae987719b8fc39fcf76b0 Signed-off-by: Akshay Belsare --- diff --git a/plat/xilinx/zynqmp/include/platform_def.h b/plat/xilinx/zynqmp/include/platform_def.h index c2d22c20c..fbf01ca77 100644 --- a/plat/xilinx/zynqmp/include/platform_def.h +++ b/plat/xilinx/zynqmp/include/platform_def.h @@ -91,7 +91,7 @@ #define PLAT_VIRT_ADDR_SPACE_SIZE (1ULL << 32) #if (BL31_LIMIT < PLAT_DDR_LOWMEM_MAX) #define MAX_MMAP_REGIONS 8 -#define MAX_XLAT_TABLES 6 +#define MAX_XLAT_TABLES 8 #else #define MAX_MMAP_REGIONS 7 #define MAX_XLAT_TABLES 5