mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 23:05:56 +00:00
Put a common definition of the SOC_PART_NUMBER symbol in soc/arm/Kconfig, to make it always available for ARM SoCs. Have the other definitions extend the base definition, without repeating the type. Also put the help text on just the base definition. It will show up in the generated documentation and when looking at the symbol information at any of the definition locations in the menuconfig (after going into show-all mode). Trying to get rid of unnecessary "full" symbol definitions in Kconfig.defconfig files, to make the organization clearer. It can also help with finding unused symbols. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
# Kconfig - 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_ARM_SAU
|
|
bool
|
|
select CPU_HAS_TEE
|
|
help
|
|
MCU implements the ARM Security Attribution Unit (SAU).
|
|
|
|
config CPU_HAS_NRF_IDAU
|
|
bool
|
|
depends on SOC_SERIES_NRF91X
|
|
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 CPU_HAS_FPU_DOUBLE_PRECISION
|
|
bool
|
|
depends on CPU_CORTEX_M7
|
|
select CPU_HAS_FPU
|
|
help
|
|
When enabled, indicates that the SoC has a double
|
|
floating point precision unit.
|
|
|
|
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.
|