]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix: increase BL32 limit
authorManish V Badarkhe <Manish.Badarkhe@arm.com>
Sun, 30 Apr 2023 08:25:15 +0000 (09:25 +0100)
committerJoanna Farley <joanna.farley@arm.com>
Thu, 11 May 2023 08:04:04 +0000 (10:04 +0200)
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 <Manish.Badarkhe@arm.com>
Co-developed-by: Juan Pablo Conde <juanpablo.conde@arm.com>
include/plat/arm/common/arm_def.h

index 925ff21159092e93739fca2b4cdb322a7e619d45..16be97116087998c6df10c2de5d573e04798075a 100644 (file)
@@ -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