drivers: watchdog/usb: Update CONFIG_SOC_SERIES_MCXNX4X name

Change CONFIG_SOC_SERIES_MCXNX4X name to CONFIG_SOC_SERIES_MCXNX

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
Neil Chen 2024-08-08 14:10:36 +08:00 committed by Fabio Baltieri
parent 19d6217118
commit fd7139e9da
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ BUILD_ASSERT(NUM_INSTS <= 1, "Only one USB device supported");
#endif /* LPC55s69 */ #endif /* LPC55s69 */
#elif defined(CONFIG_SOC_SERIES_IMXRT11XX) || \ #elif defined(CONFIG_SOC_SERIES_IMXRT11XX) || \
defined(CONFIG_SOC_SERIES_IMXRT10XX) || \ defined(CONFIG_SOC_SERIES_IMXRT10XX) || \
defined(CONFIG_SOC_SERIES_MCXNX4X) defined(CONFIG_SOC_SERIES_MCXN)
#if DT_NODE_HAS_STATUS(DT_NODELABEL(usb1), okay) #if DT_NODE_HAS_STATUS(DT_NODELABEL(usb1), okay)
#define CONTROLLER_ID kUSB_ControllerEhci0 #define CONTROLLER_ID kUSB_ControllerEhci0
#elif DT_NODE_HAS_STATUS(DT_NODELABEL(usb2), okay) #elif DT_NODE_HAS_STATUS(DT_NODELABEL(usb2), okay)

View File

@ -83,7 +83,7 @@ static int mcux_wwdt_install_timeout(const struct device *dev,
} }
#if defined(CONFIG_SOC_MIMXRT685S_CM33) || defined(CONFIG_SOC_MIMXRT595S_CM33) \ #if defined(CONFIG_SOC_MIMXRT685S_CM33) || defined(CONFIG_SOC_MIMXRT595S_CM33) \
|| defined(CONFIG_SOC_SERIES_MCXNX4X) || defined(CONFIG_SOC_SERIES_MCXN)
clock_freq = CLOCK_GetWdtClkFreq(0); clock_freq = CLOCK_GetWdtClkFreq(0);
#elif defined(CONFIG_SOC_SERIES_RW6XX) #elif defined(CONFIG_SOC_SERIES_RW6XX)
clock_freq = CLOCK_GetWdtClkFreq(); clock_freq = CLOCK_GetWdtClkFreq();