summaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authorAkshay Belsare <akshay.belsare@amd.com>2023-02-15 17:29:42 +0530
committerAkshay Belsare <akshay.belsare@amd.com>2023-02-15 21:10:57 +0530
commit12446ce89e351959aebb610eb2e35cdc7eb84d26 (patch)
treeb5a665e9a031c17b197bde34edb4a8ecbc6aedef /plat
parent5a77fd3ba15f7931bae0783b3a7389e72f99bcf5 (diff)
downloadarm-trusted-firmware-12446ce89e351959aebb610eb2e35cdc7eb84d26.tar.gz
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 <akshay.belsare@amd.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/xilinx/zynqmp/include/platform_def.h2
1 files changed, 1 insertions, 1 deletions
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