1a05cfc03a
Currently, the NXP S32 SoCs have three redundant Kconfig hidden options to define the part number. To streamline this, we will retain `CONFIG_SOC_PART_NUMBER` to store the part number as a string and `CONFIG_SOC_PART_NUMBER_<part>` that can be selected by the boards. Furthermore, for drivers requiring conditional code compilation based on the target SoC, they should utilize the series or SoC config option as applicable, instead of the part number config. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
36 lines
754 B
Plaintext
36 lines
754 B
Plaintext
# NXP S32Z/E MCUs family
|
|
|
|
# Copyright 2022-2023 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
choice
|
|
prompt "NXP S32Z/E MCUs family SoC selection"
|
|
depends on SOC_SERIES_S32ZE_R52
|
|
|
|
config SOC_S32Z27_R52
|
|
bool "SOC_S32Z27_R52"
|
|
select HAS_NXP_S32_HAL
|
|
|
|
endchoice
|
|
|
|
if SOC_SERIES_S32ZE_R52
|
|
|
|
config SOC_PART_NUMBER_S32Z27
|
|
bool
|
|
|
|
config SOC_PART_NUMBER
|
|
string
|
|
default "S32Z27" if SOC_PART_NUMBER_S32Z27
|
|
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.
|
|
|
|
config NXP_S32_RTU_INDEX
|
|
int
|
|
range 0 1
|
|
help
|
|
This option indicates the index of the target RTU (Real-Time Unit) subsystem.
|
|
|
|
endif # SOC_SERIES_S32ZE_R52
|