diff --git a/soc/arm/Kconfig b/soc/arm/Kconfig index 5be3950aeda..3043d088be8 100644 --- a/soc/arm/Kconfig +++ b/soc/arm/Kconfig @@ -41,6 +41,22 @@ config CPU_HAS_NRF_IDAU (IDAU: "Implementation-Defined Attribution Unit", in accordance with ARM terminology). +if CPU_HAS_NRF_IDAU +config NRF_SPU_FLASH_REGION_SIZE + hex + default 0x8000 if SOC_NRF9160 + default 0x8000 if SOC_NRF5340_CPUAPP && NRF5340_CPUAPP_ERRATUM19 + default 0x4000 if SOC_NRF5340_CPUAPP + help + FLASH region size for the NRF_SPU peripheral + +config NRF_SPU_RAM_REGION_SIZE + hex + default 0x2000 if SOC_NRF9160 || SOC_NRF5340_CPUAPP + help + RAM region size for the NRF_SPU peripheral +endif + config CPU_HAS_FPU_DOUBLE_PRECISION bool depends on CPU_CORTEX_M7