Skip to content

Commit 2791fbf

Browse files
Vge0rgenordicjm
authored andcommitted
partition_manager: Move PCD partition to non secure flash
The PCD partition is configured as non secure from TF-M but it was placed in the secure area by partition manager. Move the PCD partition to the non secure region where it should be. Ref: NCSDK-33735 Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 71d3383 commit 2791fbf

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

subsys/partition_manager/pm.yml.pcd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# This block of RAM is used for communicating Network Core firmware update
44
# metadata
55
pcd_sram:
6-
placement: {after: [start]}
7-
size: CONFIG_NRF_SPU_RAM_REGION_SIZE
6+
placement: {before: end}
7+
size: CONFIG_NRF_TRUSTZONE_RAM_REGION_SIZE
88
region: sram_primary
9+
#ifdef CONFIG_BUILD_WITH_TFM
10+
align: {start: CONFIG_NRF_TRUSTZONE_RAM_REGION_SIZE}
11+
#endif
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Create a span for the RAM to be configured as SECURE by TF-M.
22
sram_secure:
33
region: sram_primary
4-
span:
5-
- pcd_sram
4+
span: []
65

76
sram_nonsecure:
87
region: sram_primary
98
span:
109
- sram_primary /* Here, sram_primary refers to the (NS) app's RAM. */
10+
- pcd_sram
1111
- rpmsg_nrf53_sram

0 commit comments

Comments
 (0)