Skip to content

Commit

Permalink
boards: arm: nrf: add non-secure SRAM memory information in DTS
Browse files Browse the repository at this point in the history
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 <Ioannis.Glaropoulos@nordicsemi.no>
  • Loading branch information
ioannisg authored and carlescufi committed May 10, 2020
1 parent d5263f8 commit effac5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,sram-secure-partition = &sram0_s;
zephyr,sram-non-secure-partition = &sram0_ns;
};
};
2 changes: 2 additions & 0 deletions boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
zephyr,sram = &sram0_s;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,sram-secure-partition = &sram0_s;
zephyr,sram-non-secure-partition = &sram0_ns;
};
};

0 comments on commit effac5b

Please sign in to comment.