From d53c9dbf9ff9c435552b62f47fb95bfe86d025e3 Mon Sep 17 00:00:00 2001 From: "Ying-Chun Liu (PaulLiu)" Date: Fri, 22 Jan 2021 17:24:13 +0800 Subject: [PATCH] feat(plat/imx/imx8m/imx8mm): enlarge BL33 (U-boot) size in FIP When enabling U-boot with UEFI and secure boot, the size of U-boot becomes more than 1MB. So we enlarge BL33 to 2MB. Signed-off-by: Ying-Chun Liu (PaulLiu) Change-Id: I9d9d24132bb1ec17ef6080dc72e93c7f531c97b5 --- plat/imx/imx8m/imx8mm/include/platform_def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/imx/imx8m/imx8mm/include/platform_def.h b/plat/imx/imx8m/imx8mm/include/platform_def.h index f8efa5659..940d22bc1 100644 --- a/plat/imx/imx8m/imx8mm/include/platform_def.h +++ b/plat/imx/imx8m/imx8mm/include/platform_def.h @@ -42,7 +42,7 @@ #define BL31_BASE U(0x900000) #define BL31_LIMIT U(0x920000) #define IMX8MM_FIP_BASE U(0x40310000) -#define IMX8MM_FIP_SIZE U(0x000200000) +#define IMX8MM_FIP_SIZE U(0x000300000) #define IMX8MM_FIP_LIMIT U(FIP_BASE + FIP_SIZE) /* Define FIP image location on eMMC */ @@ -56,7 +56,7 @@ /* non-secure uboot base */ #define PLAT_NS_IMAGE_OFFSET U(0x40200000) -#define PLAT_NS_IMAGE_SIZE U(0x00100000) +#define PLAT_NS_IMAGE_SIZE U(0x00200000) /* GICv3 base address */ #define PLAT_GICD_BASE U(0x38800000)