2019-11-01 20:45:29 +08:00
|
|
|
# General options signifying CPU capabilities of ARM SoCs
|
2019-02-08 21:13:33 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2018 Nordic Semiconductor ASA.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-08-09 20:47:27 +08:00
|
|
|
config CPU_HAS_ARM_MPU
|
|
|
|
bool
|
|
|
|
select CPU_HAS_MPU
|
|
|
|
help
|
|
|
|
This option is enabled when the CPU has a Memory Protection Unit (MPU)
|
2018-11-03 03:09:45 +08:00
|
|
|
in ARM flavor.
|
2018-08-09 20:47:27 +08:00
|
|
|
|
|
|
|
config CPU_HAS_NXP_MPU
|
|
|
|
bool
|
|
|
|
select CPU_HAS_MPU
|
|
|
|
help
|
|
|
|
This option is enabled when the CPU has a Memory Protection Unit (MPU)
|
2018-11-03 03:09:45 +08:00
|
|
|
in NXP flavor.
|
2018-10-12 15:27:28 +08:00
|
|
|
|
2019-12-05 22:16:41 +08:00
|
|
|
config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
|
|
|
|
bool "Custom fixed SoC MPU region definition"
|
|
|
|
help
|
|
|
|
If enabled, this option signifies that the SoC will
|
|
|
|
define and configure its own fixed MPU regions in the
|
|
|
|
SoC definition. These fixed MPU regions are currently
|
|
|
|
used to set Flash and SRAM default access policies and
|
|
|
|
they are programmed at boot time.
|
|
|
|
|
2018-10-12 15:27:28 +08:00
|
|
|
config CPU_HAS_ARM_SAU
|
|
|
|
bool
|
|
|
|
select CPU_HAS_TEE
|
|
|
|
help
|
|
|
|
MCU implements the ARM Security Attribution Unit (SAU).
|
2018-12-20 16:01:14 +08:00
|
|
|
|
2018-12-22 05:52:42 +08:00
|
|
|
config CPU_HAS_NRF_IDAU
|
|
|
|
bool
|
2019-08-02 02:47:31 +08:00
|
|
|
depends on SOC_SERIES_NRF91X || SOC_NRF5340_CPUAPP
|
2018-12-22 05:52:42 +08:00
|
|
|
select CPU_HAS_TEE
|
|
|
|
help
|
|
|
|
MCU implements the nRF (vendor-specific) Security Attribution Unit.
|
|
|
|
(IDAU: "Implementation-Defined Attribution Unit", in accordance with
|
|
|
|
ARM terminology).
|
|
|
|
|
2020-02-21 17:14:38 +08:00
|
|
|
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
|
|
|
|
|
2018-12-20 16:01:14 +08:00
|
|
|
config HAS_SWO
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
When enabled, indicates that SoC has an SWO output
|
2019-10-25 19:25:46 +08:00
|
|
|
|
|
|
|
config SOC_PART_NUMBER
|
|
|
|
string
|
|
|
|
help
|
|
|
|
This string holds the full part number of the SoC. It is a hidden option
|
|
|
|
that you should not set directly. The part number selection choice defines
|
|
|
|
the default value for this string.
|