From 7f9390d3a3ffc76ea23853920ae31ecdcd68d1d4 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Thu, 22 Oct 2020 16:18:51 +0800 Subject: [PATCH] plat: imx8mp: change the bl31 physical load address on i.MX8MP A1 silicon, the OCRAM space is extended to 512K + 64K, currently, OCRAM @0x960000-0x980000 is reserved for BL31, it will leave the last 64KB in non-continuous space. To provide a continuous 384KB + 64KB space for generic use, so move the BL31 space to 0x970000-0x990000 range. Signed-off-by: Jacky Bai Change-Id: I96d572fc0f87f05a60f55e0552a68b6e70f8e7f4 --- plat/imx/imx8m/imx8mp/include/platform_def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/imx/imx8m/imx8mp/include/platform_def.h b/plat/imx/imx8m/imx8mp/include/platform_def.h index 644adc771..a5f265d0d 100644 --- a/plat/imx/imx8m/imx8mp/include/platform_def.h +++ b/plat/imx/imx8m/imx8mp/include/platform_def.h @@ -34,8 +34,8 @@ #define PLAT_WAIT_RET_STATE U(1) #define PLAT_STOP_OFF_STATE U(3) -#define BL31_BASE U(0x960000) -#define BL31_LIMIT U(0x980000) +#define BL31_BASE U(0x970000) +#define BL31_LIMIT U(0x990000) /* non-secure uboot base */ #define PLAT_NS_IMAGE_OFFSET U(0x40200000)