From: Soren Brinkmann Date: Mon, 25 Jul 2016 17:33:53 +0000 (-0700) Subject: zynqmp: Increase MAX_XLAT_TABLES X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=797ab652fbd33d9ef12dc641edcb665808c4d2aa;p=project%2Fbcm63xx%2Fatf.git zynqmp: Increase MAX_XLAT_TABLES When moving the ATF into the DRAM address space an additional translation table is required. Reported-by: Michal Simek Signed-off-by: Soren Brinkmann --- diff --git a/plat/xilinx/zynqmp/include/platform_def.h b/plat/xilinx/zynqmp/include/platform_def.h index a8b3646c..3c1a9e5c 100644 --- a/plat/xilinx/zynqmp/include/platform_def.h +++ b/plat/xilinx/zynqmp/include/platform_def.h @@ -100,11 +100,7 @@ ******************************************************************************/ #define ADDR_SPACE_SIZE (1ull << 32) #define MAX_MMAP_REGIONS 7 -#if IMAGE_BL32 -# define MAX_XLAT_TABLES 5 -#else -# define MAX_XLAT_TABLES 4 -#endif +#define MAX_XLAT_TABLES 5 #define CACHE_WRITEBACK_SHIFT 6 #define CACHE_WRITEBACK_GRANULE (1 << CACHE_WRITEBACK_SHIFT)