Skip to content

Commit cc80026

Browse files
Vge0rgetomi-font
authored andcommitted
[zep fromtree]platform: nordic: Fix nrF54L10 RRAM size
The RRAM size of the nRF54L10 platform is 1012 Kb and not 1022 Kb so update the flash layout accordingly. Signed-off-by: Georgios Vasilakis <[email protected]> Change-Id: I72ab05c3a7b0356408bbc0969fcb848718d67806 (cherry picked from commit 1a5763737453286783dcb4cb164193b2974675a1)
1 parent 021e2bb commit cc80026

File tree

1 file changed

+5
-5
lines changed
  • platform/ext/target/nordic_nrf/common/nrf54l10/partition

1 file changed

+5
-5
lines changed

platform/ext/target/nordic_nrf/common/nrf54l10/partition/flash_layout.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
* 0x0006_0000 Protected Storage Area (16 KB)
2828
* 0x0006_4000 Internal Trusted Storage Area (16 KB)
2929
* 0x0006_8000 OTP / NV counters area (8 KB)
30-
* 0x0006_A000 Non-secure image primary (504 KB)
31-
* 0x000E_8000 Non-secure storage, used when built with NRF_NS_STORAGE=ON,
30+
* 0x0006_A000 Non-secure image primary (494 KB)
31+
* 0x000E_5800 Non-secure storage, used when built with NRF_NS_STORAGE=ON,
3232
* otherwise unused (32 KB)
3333
*/
3434

@@ -42,10 +42,10 @@
4242
/* Use Flash memory to store Code data */
4343
#define FLASH_BASE_ADDRESS (0x0)
4444

45-
/* nRF54L10 has 1022 kB of non volatile memory (RRAM) but the last 62kB are reserved
45+
/* nRF54L10 has 1012 kB of non volatile memory (RRAM) but the last 62kB are reserved
4646
* for FLPR MCU in Zephyr. For simplicity and for possible support for running FLPR along
4747
* with TF-M later FLPR non volatile memory is not used by TF-M. */
48-
#define FLASH_TOTAL_SIZE (0xF0000) /* 960 kB since the last 62kB are reserved for FLPR */
48+
#define FLASH_TOTAL_SIZE (0xED800) /* 950 kB since the last 62kB are reserved for FLPR */
4949
#define TOTAL_ROM_SIZE FLASH_TOTAL_SIZE
5050

5151
/* nRF54L10 has 192 kB of volatile memory (SRAM) but the last 48kB are reserved
@@ -55,7 +55,7 @@
5555
#define TOTAL_RAM_SIZE (0x00024000) /* 144 kB since the last 48kB are reserved for FLPR */
5656

5757
#define FLASH_S_PARTITION_SIZE (0x60000) /* S partition: 384 kB*/
58-
#define FLASH_NS_PARTITION_SIZE (0x7E000) /* NS partition: 504 kB*/
58+
#define FLASH_NS_PARTITION_SIZE (0x7B800) /* NS partition: 494 kB*/
5959

6060
#define S_ROM_ALIAS_BASE FLASH_BASE_ADDRESS
6161
#define NS_ROM_ALIAS_BASE FLASH_BASE_ADDRESS

0 commit comments

Comments
 (0)