Skip to content

Commit

Permalink
[nrf fromtree] drivers: flash: Do not select NRFX_RRAMC while buildin…
Browse files Browse the repository at this point in the history
…g with TF-M

RRAMC peripheral is a secure-only peripheral, and the application
cannot use it directly. While building an application with TF-M
enabled and SOC_FLASH_NRF_RRAM the NRFX_RRAMC selection must
be forbidden.

Signed-off-by: Arkadiusz Balys <[email protected]>
(cherry picked from commit 2de6274)
  • Loading branch information
ArekBalysNordic authored and nordicjm committed Aug 12, 2024
1 parent 9e30235 commit 695e407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/flash/Kconfig.nrf_rram
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ menuconfig SOC_FLASH_NRF_RRAM
bool "Nordic Semiconductor flash driver for nRF RRAM"
default y
depends on DT_HAS_NORDIC_RRAM_CONTROLLER_ENABLED
select NRFX_RRAMC
select NRFX_RRAMC if !BUILD_WITH_TFM
select FLASH_HAS_DRIVER_ENABLED
select FLASH_HAS_PAGE_LAYOUT
select FLASH_NRF_FORCE_ALT
Expand Down

0 comments on commit 695e407

Please sign in to comment.