blob: a5b30195d4d59b70e67c8fd672104c87090fca1a [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001From 80b1efa92486a87f9e82dbf665ef612291148de8 Mon Sep 17 00:00:00 2001
2From: Adam Johnston <adam.johnston@arm.com>
3Date: Tue, 14 Jun 2022 11:19:30 +0000
4Subject: [PATCH] arm-bsp/trusted-firmware-a: N1SDP trusted boot
5
6Increase max size of BL2 on N1SDP by 4KB to enable trusted boot
7Decrease max size of BL1 on N1SDP by 8KB so BL1/BL2 fits above BL31 progbits
8
9Signed-off-by: Adam Johnston <adam.johnston@arm.com>
10Upstream-Status: Pending [Flagged to upstream]
11
12---
13 plat/arm/board/n1sdp/include/platform_def.h | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/plat/arm/board/n1sdp/include/platform_def.h b/plat/arm/board/n1sdp/include/platform_def.h
17index c9b81bafa..7468a31ed 100644
18--- a/plat/arm/board/n1sdp/include/platform_def.h
19+++ b/plat/arm/board/n1sdp/include/platform_def.h
20@@ -91,7 +91,7 @@
21 * PLAT_ARM_MAX_BL1_RW_SIZE is calculated using the current BL1 RW debug size
22 * plus a little space for growth.
23 */
24-#define PLAT_ARM_MAX_BL1_RW_SIZE 0xE000
25+#define PLAT_ARM_MAX_BL1_RW_SIZE 0xC000
26
27 /*
28 * PLAT_ARM_MAX_ROMLIB_RW_SIZE is define to use a full page
29@@ -110,7 +110,7 @@
30 * little space for growth.
31 */
32 #if TRUSTED_BOARD_BOOT
33-# define PLAT_ARM_MAX_BL2_SIZE 0x20000
34+# define PLAT_ARM_MAX_BL2_SIZE 0x21000
35 #else
36 # define PLAT_ARM_MAX_BL2_SIZE 0x14000
37 #endif
38--
392.35.1
40