]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(zynqmp): move bl31 with DEBUG=1 back to OCM
authorMichal Simek <michal.simek@xilinx.com>
Wed, 15 Jun 2022 12:19:56 +0000 (14:19 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 15 Jun 2022 12:19:56 +0000 (14:19 +0200)
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 <michal.simek@xilinx.com>
Change-Id: I608c1b88baffec538c6ae528f057820e34971c4c

plat/xilinx/zynqmp/include/platform_def.h

index 9c1600a7b7e380f36c9e9b7ece43a82ab3534b49..66bbf30a65a4e99d40c66ba94f0f92e82c0b0546 100644 (file)
@@ -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)