blob: 4f00ea288148d4b68d0f531ce1f2363aacb8f6e1 [file] [log] [blame]
Patrick Williams2a254922023-08-11 09:48:11 -05001From 60598f3b44237bd5038e33400e749ec1e7e8fbda Mon Sep 17 00:00:00 2001
Andrew Geisslerdc9d6142023-05-19 09:38:37 -05002From: Emekcan Aras <emekcan.aras@arm.com>
3Date: Mon, 15 May 2023 10:42:23 +0100
Patrick Williams2a254922023-08-11 09:48:11 -05004Subject: [PATCH] Platform: corstone1000: Increase BL2 size in flash layout
Andrew Geisslerdc9d6142023-05-19 09:38:37 -05005
6Increases BL2 size to align with the flash page size in corstone1000.
7
8Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Patrick Williamsac13d5f2023-11-24 18:59:46 -06009Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/24103]
Patrick Williams2a254922023-08-11 09:48:11 -050010
Andrew Geisslerdc9d6142023-05-19 09:38:37 -050011---
12 platform/ext/target/arm/corstone1000/partition/flash_layout.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/platform/ext/target/arm/corstone1000/partition/flash_layout.h b/platform/ext/target/arm/corstone1000/partition/flash_layout.h
16index 41b4c6323f..bfe8c4fb3c 100644
17--- a/platform/ext/target/arm/corstone1000/partition/flash_layout.h
18+++ b/platform/ext/target/arm/corstone1000/partition/flash_layout.h
19@@ -89,7 +89,7 @@
20 #endif
21
22 /* Static Configurations of the Flash */
23-#define SE_BL2_PARTITION_SIZE (0x18800) /* 98 KB */
24+#define SE_BL2_PARTITION_SIZE (0x19000) /* 98 KB */
25 #define SE_BL2_BANK_0_OFFSET (0x9000) /* 72nd LBA */
26 #define SE_BL2_BANK_1_OFFSET (0x1002000) /* 32784th LBA */
27