diff options
author | Shawn Shan <shawn.shan@arm.com> | 2021-03-22 07:26:18 +0100 |
---|---|---|
committer | Ken Liu <ken.liu@arm.com> | 2021-03-22 07:52:17 +0100 |
commit | 8d5cec11530fc052ea4d94b1fe36a3b4e5cb0bc0 (patch) | |
tree | f53fbdff41fe34de77b2b63c86c573031c322d71 | |
parent | 848ea8771cf13c83a8e76575746a28809a8e0cbb (diff) | |
download | trusted-firmware-m-8d5cec11530fc052ea4d94b1fe36a3b4e5cb0bc0.tar.gz |
Revert "Platform: Increase the code size of LR_CODE about musca_b1"
This reverts commit e00c39cad559abadabe97496694117095fba4907.
Reason for revert:
As there are some dependencies with LR_CODE size(BL2&nv counter have some check with the size), unable to increase size directly. Revert this patch.
Change-Id: I761d6db712bcec2cc638cbb6ca1163e69acb7044
-rw-r--r-- | platform/ext/target/musca_b1/sse_200/partition/flash_layout.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/platform/ext/target/musca_b1/sse_200/partition/flash_layout.h b/platform/ext/target/musca_b1/sse_200/partition/flash_layout.h index 5bb8e4caf8..16f91fecba 100644 --- a/platform/ext/target/musca_b1/sse_200/partition/flash_layout.h +++ b/platform/ext/target/musca_b1/sse_200/partition/flash_layout.h @@ -25,28 +25,28 @@ * Flash layout on Musca-B1 with BL2 (multiple image boot, boot from eFlash 0): * * 0x0A00_0000 BL2 - MCUBoot (128 KB) - * 0x0A02_0000 Secure image primary slot (392 KB) - * 0x0A08_2000 Non-secure image primary slot (512 KB) - * 0x0A10_2000 Secure image secondary slot (392 KB) - * 0x0A16_4000 Non-secure image secondary slot (512 KB) - * 0x0A1E_4000 Scratch area (64 KB) - * 0x0A1F_4000 Internal Trusted Storage Area (32 KB) - * 0x0A1F_c000 NV counters area (16 KB) - * 0x0A20_0000 Unused (16 KB) + * 0x0A02_0000 Secure image primary slot (384 KB) + * 0x0A08_0000 Non-secure image primary slot (512 KB) + * 0x0A10_0000 Secure image secondary slot (384 KB) + * 0x0A16_0000 Non-secure image secondary slot (512 KB) + * 0x0A1E_0000 Scratch area (64 KB) + * 0x0A1F_0000 Internal Trusted Storage Area (32 KB) + * 0x0A1F_8000 NV counters area (16 KB) + * 0x0A1F_C000 Unused (32 KB) * * Flash layout on Musca-B1 with BL2 (single image boot): * * 0x0A00_0000 BL2 - MCUBoot (128 KB) - * 0x0A02_0000 Primary image area (904 KB): - * 0x0A02_0000 Secure image primary (392 KB) - * 0x0A08_2000 Non-secure image primary (512 KB) - * 0x0A10_2000 Secondary image area (904 KB): - * 0x0A10_2000 Secure image secondary (392 KB) - * 0x0A16_4000 Non-secure image secondary (512 KB) - * 0x0A1E_4000 Scratch area (64 KB) - * 0x0A1F_4000 Internal Trusted Storage Area (32 KB) - * 0x0A1F_c000 NV counters area (16 KB) - * 0x0A20_0000 Unused (16 KB) + * 0x0A02_0000 Primary image area (896 KB): + * 0x0A02_0000 Secure image primary (384 KB) + * 0x0A08_0000 Non-secure image primary (512 KB) + * 0x0A10_0000 Secondary image area (896 KB): + * 0x0A10_0000 Secure image secondary (384 KB) + * 0x0A16_0000 Non-secure image secondary (512 KB) + * 0x0A1E_0000 Scratch area (64 KB) + * 0x0A1F_0000 Internal Trusted Storage Area (32 KB) + * 0x0A1F_8000 NV counters area (16 KB) + * 0x0A1F_C000 Unused (32 KB) * * Note: As eFlash is written at runtime, the eFlash driver code is placed * in code SRAM to avoid any interference. @@ -67,7 +67,7 @@ */ /* Size of a Secure and of a Non-secure image */ -#define FLASH_S_PARTITION_SIZE (0x62000) /* S partition: 392 KB */ +#define FLASH_S_PARTITION_SIZE (0x60000) /* S partition: 384 KB */ #define FLASH_NS_PARTITION_SIZE (0x80000) /* NS partition: 512 KB */ #define FLASH_MAX_PARTITION_SIZE ((FLASH_S_PARTITION_SIZE > \ FLASH_NS_PARTITION_SIZE) ? \ |