f052de56a0
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>
21 lines
436 B
Text
21 lines
436 B
Text
# Copyright (c) 2017, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FAMILY_IMX
|
|
bool
|
|
select HAS_SEGGER_RTT
|
|
|
|
if SOC_FAMILY_IMX
|
|
|
|
config SOC_FAMILY
|
|
string
|
|
default "nxp_imx"
|
|
|
|
source "soc/arm/nxp_imx/*/Kconfig.soc"
|
|
|
|
config SOC_PART_NUMBER
|
|
default SOC_PART_NUMBER_IMX_RT if SOC_SERIES_IMX_RT
|
|
default SOC_PART_NUMBER_IMX_6X_M4 if SOC_SERIES_IMX_6X_M4
|
|
default SOC_PART_NUMBER_IMX7_M4 if SOC_SERIES_IMX7_M4
|
|
|
|
endif # SOC_FAMILY_IMX
|