From a7a7afc6bb908e100b6eb45de7b4738bfb68e8d2 Mon Sep 17 00:00:00 2001 From: Zhihong Chen Date: Sat, 18 May 2024 10:12:02 +0800 Subject: [PATCH] port: HPMicro: update usb_glue_hpm - update usb_glue_hpm Signed-off-by: Zhihong Chen --- port/ehci/usb_glue_hpm.c | 6 +----- 1 file changed, 1 insertion(+), 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];