Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf noup] drivers: flash: Allow reading secure mem by nrf_rram. #2352

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

ArekBalysNordic
Copy link
Contributor

@ArekBalysNordic ArekBalysNordic commented Dec 10, 2024

To read the secure memory we need to use soc_secure_mem_read function instead of memcpy.

This commit allows to use the soc_secure_mem_read function if the CONFIG_TRUSTED_EXECUTION_NONSECURE and PARTITION_MANAGER is enabled.

ref.: NCSDK-29300

@nvlsianpu nvlsianpu added this to the ncs-2.9.0 milestone Dec 11, 2024
@nvlsianpu nvlsianpu added the backport v3.7.99-ncs2-branch Relates to NCS v2.9-branch label Dec 11, 2024
fixup! [nrf noup] tree-wide: support NCS Partition Manager (PM) definitions

To read the secure memory we need to use soc_secure_mem_read
function instead of memcpy.

This commit allows to use the soc_secure_mem_read function
if the CONFIG_TRUSTED_EXECUTION_NONSECURE and PARTITION_MANAGER
is enabled.

Signed-off-by: Arkadiusz Balys <[email protected]>
@ArekBalysNordic
Copy link
Contributor Author

rebased.

@rlubos rlubos merged commit 711346a into nrfconnect:main Dec 12, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport v3.7.99-ncs2-branch Relates to NCS v2.9-branch bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants