soc: arm: Kconfig: Add config for NRF_SPU region sizes
Needs to be aware of the Kconfig NRF5340_CPUAPP_ERRATUM19. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
parent
c5094b82f5
commit
1d5cb928dd
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue