Browse Source
Move all dependencies of the family config to series level, and put a disclaimer saying not to use the family config. Change all occurrences of the family config in code to the MCXNX4X series config. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>pull/77441/head
6 changed files with 37 additions and 25 deletions
@ -1,27 +1,15 @@
@@ -1,27 +1,15 @@
|
||||
# Copyright 2024 NXP |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
# Do NOT select anything from the MCX family kconfig, |
||||
# and do not make it a dependency of anything else. |
||||
# If there is some similarity between series, |
||||
# use if SERIES_A || SERIES_B or something of that |
||||
# effect rather than the family config. |
||||
# This is because MCX series is expected to be very diverse. |
||||
|
||||
if SOC_FAMILY_NXP_MCX |
||||
|
||||
if FLASH_MCUX_FLEXSPI_XIP |
||||
|
||||
# Code relocation is needed when FLASH_MCUX_FLEXSPI_XIP is enabled |
||||
config CODE_DATA_RELOCATION_SRAM |
||||
default y |
||||
|
||||
config FLASH_MCUX_FLEXSPI_XIP_MEM |
||||
string |
||||
default "RAM" |
||||
|
||||
endif # FLASH_MCUX_FLEXSPI_XIP |
||||
|
||||
config MFD |
||||
default y if DT_HAS_NXP_LP_FLEXCOMM_ENABLED |
||||
|
||||
choice USB_MCUX_CONTROLLER_TYPE |
||||
default USB_DC_NXP_EHCI |
||||
endchoice |
||||
|
||||
rsource "*/Kconfig.defconfig" |
||||
|
||||
endif # SOC_FAMILY_NXP_MCX |
||||
|
Loading…
Reference in new issue