blob: 74ab3612c1b0d5c7fcaded9bec32cae418d93a6b [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001From 008cfc6457c239466ca62610d59aaf1a78f6b2f6 Mon Sep 17 00:00:00 2001
2From: Tudor Cretu <tudor.cretu@arm.com>
3Date: Fri, 21 May 2021 14:56:37 +0000
4Subject: [PATCH 1/7] plat: tc: Increase maximum BL2 size.
5
6BL2 size gets increased due to the firmware update changes.
7Increase the MAX_BL2_SIZE by 8Kb.
8
9Signed-off-by: Tudor Cretu <tudor.cretu@arm.com>
10Change-Id: I1cb28b0eb7f834426873ff9f4c40bd496413806f
11Upstream-Status: Pending [Not submitted to upstream yet]
12---
13 plat/arm/board/tc/include/platform_def.h | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16diff --git a/plat/arm/board/tc/include/platform_def.h b/plat/arm/board/tc/include/platform_def.h
17index 745d91cab..cd77773aa 100644
18--- a/plat/arm/board/tc/include/platform_def.h
19+++ b/plat/arm/board/tc/include/platform_def.h
20@@ -120,9 +120,9 @@
21 * little space for growth.
22 */
23 #if TRUSTED_BOARD_BOOT
24-# define PLAT_ARM_MAX_BL2_SIZE 0x20000
25+# define PLAT_ARM_MAX_BL2_SIZE 0x25000
26 #else
27-# define PLAT_ARM_MAX_BL2_SIZE 0x14000
28+# define PLAT_ARM_MAX_BL2_SIZE 0x19000
29 #endif
30
31 /*
32@@ -130,7 +130,7 @@
33 * calculated using the current BL31 PROGBITS debug size plus the sizes of
34 * BL2 and BL1-RW
35 */
36-#define PLAT_ARM_MAX_BL31_SIZE 0x3F000
37+#define PLAT_ARM_MAX_BL31_SIZE 0x4F000
38
39 /*
40 * Size of cacheable stacks
41--
422.30.2
43