drivers: nxp_usb: usb_dc_mcux error condition updated

This driver is no longer maintained. So remove the
error condition to have a build error for undefined
platforms.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2025-02-10 11:15:58 -06:00 committed by Carles Cufí
commit 268af3817d

View file

@ -98,11 +98,8 @@ BUILD_ASSERT(NUM_INSTS <= 1, "Only one USB device supported");
#elif DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(usb2))
#define CONTROLLER_ID kUSB_ControllerEhci1
#endif /* IMX RT */
#elif defined(CONFIG_SOC_SERIES_RW6XX)
#define CONTROLLER_ID kUSB_ControllerEhci0
#else
/* If SOC has EHCI or LPCIP3511 then probably just need to add controller ID to this code */
#error "USB driver does not yet support this SOC"
#define CONTROLLER_ID kUSB_ControllerEhci0
#endif /* CONTROLLER ID */
/* We do not need a buffer for the write side on platforms that have USB RAM.