Skip to content

Commit

Permalink
[nrf noup] soc: nordic: Disable DCACHE for nrf54h20
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
is not available upstream.

This is required specifically for the PSA crypto
secure service but I cannot use SSF_PSA_CRYPTO_SERVICE_ENABLED
here so I used the SDFW_SERVICES_ENABLED option.

This is temporary since we expect to add support for
data cache later.

This affects the nrf54h20dk cpuapp and cpurad targets.

Signed-off-by: Georgios Vasilakis <[email protected]>
  • Loading branch information
Vge0rge committed Oct 23, 2024
1 parent 71d74e3 commit 92faafc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soc/nordic/nrf54h/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ config SOC_NRF54H20_CPUAPP_COMMON
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 @@ -43,7 +43,7 @@ config SOC_NRF54H20_CPURAD_COMMON
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 92faafc

Please sign in to comment.