Skip to content

Commit effac5b

Browse files
ioannisgcarlescufi
authored andcommitted
boards: arm: nrf: add non-secure SRAM memory information in DTS
When we build Zephyr as Secure image on nRF340 Application MCU and nRF9160 SoC we would like to pass the information about the reserved memory area allocated to the Non-Secure images. The information may be needed to apply proper security configuration. We add a "chosen" node in board .dts file for this purpose. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent d5263f8 commit effac5b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

boards/arm/nrf5340pdk_nrf5340/nrf5340pdk_nrf5340_cpuapp.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
zephyr,flash = &flash0;
1515
zephyr,code-partition = &slot0_partition;
1616
zephyr,sram-secure-partition = &sram0_s;
17+
zephyr,sram-non-secure-partition = &sram0_ns;
1718
};
1819
};

boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
zephyr,sram = &sram0_s;
1414
zephyr,flash = &flash0;
1515
zephyr,code-partition = &slot0_partition;
16+
zephyr,sram-secure-partition = &sram0_s;
17+
zephyr,sram-non-secure-partition = &sram0_ns;
1618
};
1719
};

0 commit comments

Comments
 (0)