summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--port/ehci/usb_glue_hpm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/port/ehci/usb_glue_hpm.c b/port/ehci/usb_glue_hpm.c
index 2a6bcb72..f616f2cf 100644
--- a/port/ehci/usb_glue_hpm.c
+++ b/port/ehci/usb_glue_hpm.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2022 HPMicro
+ * Copyright (c) 2022-2024 HPMicro
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -17,10 +17,6 @@
#error "hpm ehci must config CONFIG_USB_EHCI_HCCR_OFFSET to 0x100"
#endif
-#if !defined(CONFIG_USB_EHCI_CONFIGFLAG)
-#error "hpm ehci must set CONFIG_USB_EHCI_CONFIGFLAG"
-#endif
-
static uint32_t _hcd_irqnum[CONFIG_USBHOST_MAX_BUS];
static uint8_t _hcd_busid[CONFIG_USBHOST_MAX_BUS];