6348a973c3
CPU_HAS_NRF_IDAU is depending on SOC_SERIES_NRF91X and SOC_NRF5340_CPUAPP. This makes it more difficult to have an out-of-tree nrf SOC. It is also an unnecessary dependency. There is no prompt for CPU_HAS_NRF_IDAU, so it will not show up in menuconfig and it won't be possible to enable it from a users Kconfig fragment. The only way to enable it is to select it, and those that select this option can themselves make sure that they only do so when appropriate. Also, move NRF_SPU options out to SOC Kconfig files to also make out-of-tree SoCs possible. With the added benefit of not polluting the common soc/arm/Kconfig. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
# General options signifying CPU capabilities of ARM SoCs
|
|
|
|
# Copyright (c) 2018 Nordic Semiconductor ASA.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config CPU_HAS_ARM_MPU
|
|
bool
|
|
select CPU_HAS_MPU
|
|
help
|
|
This option is enabled when the CPU has a Memory Protection Unit (MPU)
|
|
in ARM flavor.
|
|
|
|
config CPU_HAS_NXP_MPU
|
|
bool
|
|
select CPU_HAS_MPU
|
|
help
|
|
This option is enabled when the CPU has a Memory Protection Unit (MPU)
|
|
in NXP flavor.
|
|
|
|
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.
|
|
|
|
config CPU_HAS_ARM_SAU
|
|
bool
|
|
select CPU_HAS_TEE
|
|
help
|
|
MCU implements the ARM Security Attribution Unit (SAU).
|
|
|
|
config CPU_HAS_NRF_IDAU
|
|
bool
|
|
select CPU_HAS_TEE
|
|
help
|
|
MCU implements the nRF (vendor-specific) Security Attribution Unit.
|
|
(IDAU: "Implementation-Defined Attribution Unit", in accordance with
|
|
ARM terminology).
|
|
|
|
config HAS_SWO
|
|
bool
|
|
help
|
|
When enabled, indicates that SoC has an SWO output
|
|
|
|
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.
|