From 389594dfa7e60a720d60f0d55296f91ba1610de5 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 15 Jun 2022 14:19:56 +0200 Subject: [PATCH] fix(zynqmp): move bl31 with DEBUG=1 back to OCM By default placing bl31 to addrexx 0x1000 is not good. Because this location is used by U-Boot SPL. That's why move TF-A back to OCM where it should be placed. BL31_BASE address exactly matches which requested address for U-BOOT SPL boot flow. Signed-off-by: Michal Simek Change-Id: I608c1b88baffec538c6ae528f057820e34971c4c --- plat/xilinx/zynqmp/include/platform_def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/xilinx/zynqmp/include/platform_def.h b/plat/xilinx/zynqmp/include/platform_def.h index 9c1600a7b..66bbf30a6 100644 --- a/plat/xilinx/zynqmp/include/platform_def.h +++ b/plat/xilinx/zynqmp/include/platform_def.h @@ -40,8 +40,8 @@ # define BL31_BASE U(0xfffea000) # define BL31_LIMIT U(0x100000000) #else -# define BL31_BASE U(0x1000) -# define BL31_LIMIT U(0x7ffff) +# define BL31_BASE U(0xfff5a000) +# define BL31_LIMIT U(0x100000000) #endif #else # define BL31_BASE (ZYNQMP_ATF_MEM_BASE) -- 2.39.5