From 92faafc4cac70544120006819ee91d0c08761894 Mon Sep 17 00:00:00 2001 From: Georgios Vasilakis Date: Thu, 26 Sep 2024 13:39:35 +0200 Subject: [PATCH] [nrf noup] soc: nordic: Disable DCACHE for nrf54h20 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 --- soc/nordic/nrf54h/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soc/nordic/nrf54h/Kconfig b/soc/nordic/nrf54h/Kconfig index 51dc4e07480..d04559c1a68 100644 --- a/soc/nordic/nrf54h/Kconfig +++ b/soc/nordic/nrf54h/Kconfig @@ -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 @@ -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