Skip to content

Commit 695e407

Browse files
ArekBalysNordicnordicjm
authored andcommitted
[nrf fromtree] drivers: flash: Do not select NRFX_RRAMC while building 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)
1 parent 9e30235 commit 695e407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/flash/Kconfig.nrf_rram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ menuconfig SOC_FLASH_NRF_RRAM
88
bool "Nordic Semiconductor flash driver for nRF RRAM"
99
default y
1010
depends on DT_HAS_NORDIC_RRAM_CONTROLLER_ENABLED
11-
select NRFX_RRAMC
11+
select NRFX_RRAMC if !BUILD_WITH_TFM
1212
select FLASH_HAS_DRIVER_ENABLED
1313
select FLASH_HAS_PAGE_LAYOUT
1414
select FLASH_NRF_FORCE_ALT

0 commit comments

Comments
 (0)