port: HPMicro: update usb_glue_hpm
- update usb_glue_hpm Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2022 HPMicro
|
* Copyright (c) 2022-2024 HPMicro
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*
|
*
|
||||||
@@ -17,10 +17,6 @@
|
|||||||
#error "hpm ehci must config CONFIG_USB_EHCI_HCCR_OFFSET to 0x100"
|
#error "hpm ehci must config CONFIG_USB_EHCI_HCCR_OFFSET to 0x100"
|
||||||
#endif
|
#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 uint32_t _hcd_irqnum[CONFIG_USBHOST_MAX_BUS];
|
||||||
static uint8_t _hcd_busid[CONFIG_USBHOST_MAX_BUS];
|
static uint8_t _hcd_busid[CONFIG_USBHOST_MAX_BUS];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user