Skip to content

Commit 2c58fd6

Browse files
57300rlubos
authored andcommitted
nrf_security: Disable CRACEN_LIB_KMU when no KMU is present
Add a helper config CRACEN_KMU_HW_PRESENT for this purpose. Signed-off-by: Grzegorz Swiderski <[email protected]>
1 parent 45621c1 commit 2c58fd6

File tree

1 file changed

+4
-1
lines changed
  • subsys/nrf_security/src/drivers/cracen

1 file changed

+4
-1
lines changed

subsys/nrf_security/src/drivers/cracen/Kconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ config CRACEN_HW_VERSION_BASE
1313
config CRACEN_HW_VERSION_LITE
1414
def_bool SOC_NRF54LM20A || SOC_NRF54LV10A || SOC_NRF7120_ENGA
1515

16+
config CRACEN_KMU_HW_PRESENT
17+
def_bool SOC_SERIES_NRF54LX || SOC_SERIES_NRF71X
18+
1619
config CRACEN_NEED_MULTIPART_WORKAROUNDS
1720
def_bool SOC_NRF54LM20A
1821

@@ -37,7 +40,7 @@ config CRACEN_LOAD_MICROCODE
3740

3841
config CRACEN_LIB_KMU
3942
bool "CRACEN KMU library"
40-
depends on CRACEN_HW_PRESENT
43+
depends on CRACEN_KMU_HW_PRESENT
4144
select NRFX_RRAMC if !BUILD_WITH_TFM && SOC_SERIES_NRF54LX
4245
select NRFX_MRAMC if !BUILD_WITH_TFM && SOC_SERIES_NRF71X
4346
default y

0 commit comments

Comments
 (0)