Skip to content

Commit

Permalink
[noup] KMU: Add NOLOAD to linker section for the nRF KMU region
Browse files Browse the repository at this point in the history
!fixup [nrf noup] platform: ext: nordic_nrf: Custom nRF54L15 linker file

This was missed in a previous commit without this the linker will place
the initialization of this global variable which is 0 at the address of
S_DATA_START in Flash, now it will be discarded.

Ref. NCSDK-25121

Signed-off-by: Sigvart Hovland <[email protected]>
  • Loading branch information
sigvartmh authored and nordicjm committed Jul 29, 2024
1 parent beb7825 commit e345a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ext/common/gcc/tfm_common_s.ld
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ SECTIONS
#endif

#if defined(CONFIG_PSA_NEED_CRACEN_KMU_DRIVER)
.nrf_kmu_reserved_push_area S_DATA_START:
.nrf_kmu_reserved_push_area S_DATA_START (NOLOAD):
{
__nrf_kmu_reserved_push_area = .;
*(.nrf_kmu_reserved_push_area)
Expand Down

0 comments on commit e345a07

Please sign in to comment.