From: Manish V Badarkhe Date: Sun, 30 Apr 2023 08:25:15 +0000 (+0100) Subject: fix: increase BL32 limit X-Git-Tag: baikal/aarch64/sdk5.10~1^2~17^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=c2a76122c88e9ba5de493e1aa765ad170614a31d;p=arm-tf.git fix: increase BL32 limit BL32_LIMIT has been increased from 2MB to 4MB to accommodate the latest tee.bin (it is around ~2.1MB). Change-Id: I47b770bf23c23d38931a2b3316d076b829338d70 Signed-off-by: Manish V Badarkhe Co-developed-by: Juan Pablo Conde --- diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index 925ff2115..16be97116 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2023, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -731,7 +731,7 @@ MEASURED_BOOT # define TSP_SEC_MEM_SIZE PLAT_ARM_TRUSTED_DRAM_SIZE # define BL32_BASE PLAT_ARM_TRUSTED_DRAM_BASE # define BL32_LIMIT (PLAT_ARM_TRUSTED_DRAM_BASE \ - + (UL(1) << 21)) + + SZ_4M) # elif ARM_TSP_RAM_LOCATION_ID == ARM_DRAM_ID # define TSP_SEC_MEM_BASE ARM_AP_TZC_DRAM1_BASE # define TSP_SEC_MEM_SIZE ARM_AP_TZC_DRAM1_SIZE