summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhihong Chen <[email protected]>2024-05-18 10:12:02 +0800
committersakumisu <[email protected]>2024-05-18 10:17:57 +0800
commita7a7afc6bb908e100b6eb45de7b4738bfb68e8d2 (patch)
tree4e02556dace9740a26652b674aa1f64be7306333
parent66b893e64ff2481003d811f1ac1a5887b033346e (diff)
port: HPMicro: update usb_glue_hpm
- update usb_glue_hpm Signed-off-by: Zhihong Chen <[email protected]>
-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];