]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(zynqmp): update MAX_XLAT_TABLES for DDR memory range
authorAkshay Belsare <akshay.belsare@amd.com>
Wed, 15 Feb 2023 11:59:42 +0000 (17:29 +0530)
committerAkshay Belsare <akshay.belsare@amd.com>
Wed, 15 Feb 2023 15:40:57 +0000 (21:10 +0530)
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 <akshay.belsare@amd.com>
plat/xilinx/zynqmp/include/platform_def.h

index c2d22c20c27af90c95c7f616eab3ef2fcadfc260..fbf01ca7722652c5d6e8e88a01224a62677bc4c3 100644 (file)
@@ -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