Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | From 008cfc6457c239466ca62610d59aaf1a78f6b2f6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tudor Cretu <tudor.cretu@arm.com> |
| 3 | Date: Fri, 21 May 2021 14:56:37 +0000 |
| 4 | Subject: [PATCH 1/7] plat: tc: Increase maximum BL2 size. |
| 5 | |
| 6 | BL2 size gets increased due to the firmware update changes. |
| 7 | Increase the MAX_BL2_SIZE by 8Kb. |
| 8 | |
| 9 | Signed-off-by: Tudor Cretu <tudor.cretu@arm.com> |
| 10 | Change-Id: I1cb28b0eb7f834426873ff9f4c40bd496413806f |
| 11 | Upstream-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 | |
| 16 | diff --git a/plat/arm/board/tc/include/platform_def.h b/plat/arm/board/tc/include/platform_def.h |
| 17 | index 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 | -- |
| 42 | 2.30.2 |
| 43 | |