Skip to content

Commit a14ae71

Browse files
committed
[nrf noup] soc: nordic: Disable DCACHE
When the secure domain services are enabled. noup since the symbol SDFW_SERVICES_ENABLED are not available upstream. This is required specifically for the PSA crypto secure service but this is the most relevant Kconfig that I could use. This is temporary since we expect to add support for data cache later. This affects for the following secdom enabled targets: nrf54h20_cpuapp and cpurad nrf9280_cpuapp Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent d805380 commit a14ae71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

soc/nordic/nrf54h/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config SOC_NRF54H20_CPUAPP
1515
select CPU_CORTEX_M33
1616
select CPU_HAS_ARM_MPU
1717
select CPU_HAS_ARM_SAU
18-
select CPU_HAS_DCACHE
18+
select CPU_HAS_DCACHE if !SDFW_SERVICES_ENABLED
1919
select CPU_HAS_ICACHE
2020
select CPU_HAS_FPU
2121
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
@@ -35,7 +35,7 @@ config SOC_NRF54H20_CPURAD
3535
select CPU_CORTEX_M33
3636
select CPU_HAS_ARM_MPU
3737
select CPU_HAS_ARM_SAU
38-
select CPU_HAS_DCACHE
38+
select CPU_HAS_DCACHE if !SDFW_SERVICES_ENABLED
3939
select CPU_HAS_ICACHE
4040
select CPU_HAS_FPU
4141
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS

soc/nordic/nrf92/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config SOC_NRF9230_ENGB_CPUAPP
1515
select CPU_CORTEX_M33
1616
select CPU_HAS_ARM_MPU
1717
select CPU_HAS_ARM_SAU
18-
select CPU_HAS_DCACHE
18+
select CPU_HAS_DCACHE if !SDFW_SERVICES_ENABLED
1919
select CPU_HAS_ICACHE
2020
select CPU_HAS_FPU
2121
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS

0 commit comments

Comments
 (0)