Skip to content

Commit

Permalink
[nrf noup] soc: nordic: Disable DCACHE
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Vge0rge committed Sep 27, 2024
1 parent d805380 commit a14ae71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions soc/nordic/nrf54h/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ config SOC_NRF54H20_CPUAPP
select CPU_CORTEX_M33
select CPU_HAS_ARM_MPU
select CPU_HAS_ARM_SAU
select CPU_HAS_DCACHE
select CPU_HAS_DCACHE if !SDFW_SERVICES_ENABLED
select CPU_HAS_ICACHE
select CPU_HAS_FPU
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
Expand All @@ -35,7 +35,7 @@ config SOC_NRF54H20_CPURAD
select CPU_CORTEX_M33
select CPU_HAS_ARM_MPU
select CPU_HAS_ARM_SAU
select CPU_HAS_DCACHE
select CPU_HAS_DCACHE if !SDFW_SERVICES_ENABLED
select CPU_HAS_ICACHE
select CPU_HAS_FPU
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
Expand Down
2 changes: 1 addition & 1 deletion soc/nordic/nrf92/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ config SOC_NRF9230_ENGB_CPUAPP
select CPU_CORTEX_M33
select CPU_HAS_ARM_MPU
select CPU_HAS_ARM_SAU
select CPU_HAS_DCACHE
select CPU_HAS_DCACHE if !SDFW_SERVICES_ENABLED
select CPU_HAS_ICACHE
select CPU_HAS_FPU
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
Expand Down

0 comments on commit a14ae71

Please sign in to comment.