From d4a858c7e5b37dc40a9110485db4683779b5fcb0 Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Wed, 17 Jan 2018 15:43:51 +0800 Subject: imx8qm/imx8qxp: enlarge MAX_XLAT_TABLES to make debug version work In worse case, MAX_XLAT_TABLES needs to be equal to MAX_MMAP_REGIONS, enlarge MAX_XLAT_TABLES to make debug version ATF can boot up, otherwise, it may fail at below: ASSERT: lib/xlat_tables/xlat_tables_common.c <362> Signed-off-by: Anson Huang --- plat/imx/imx8qxp/include/platform_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plat/imx/imx8qxp/include/platform_def.h') diff --git a/plat/imx/imx8qxp/include/platform_def.h b/plat/imx/imx8qxp/include/platform_def.h index 50f77b16..7955e60f 100644 --- a/plat/imx/imx8qxp/include/platform_def.h +++ b/plat/imx/imx8qxp/include/platform_def.h @@ -63,7 +63,7 @@ #define PLAT_VIRT_ADDR_SPACE_SIZE (1ull << 32) #define PLAT_PHY_ADDR_SPACE_SIZE (1ull << 32) -#define MAX_XLAT_TABLES 4 +#define MAX_XLAT_TABLES 8 #define MAX_MMAP_REGIONS 8 #define IMX_BOOT_UART_BASE 0x5a060000 -- cgit v1.2.3