diff options
| author | sakumisu <[email protected]> | 2022-03-17 16:40:32 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-03-17 16:40:32 +0800 |
| commit | 080ebc729731e10da769af7f81f38b0ee24403d5 (patch) | |
| tree | fbc976e23665de326d64410a383764c24b63f145 | |
| parent | 1526766816acd0ce5e3d2c5a3ddaf1b0f61b3f05 (diff) | |
enable ehci reserved regs as default
| -rw-r--r-- | port/ehci/usb_ehci.h | 2 | ||||
| -rw-r--r-- | usb_config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/port/ehci/usb_ehci.h b/port/ehci/usb_ehci.h index cf25ce30..c2c37b93 100644 --- a/port/ehci/usb_ehci.h +++ b/port/ehci/usb_ehci.h @@ -872,7 +872,7 @@ struct ehci_hcor_s uint32_t ctrldssegment; /* 0x10: 4G Segment Selector */ uint32_t periodiclistbase; /* 0x14: Frame List Base Address */ uint32_t asynclistaddr; /* 0x18: Next Asynchronous List Address */ -#ifdef CONFIG_USB_ECHI_HCOR_RESERVED +#ifndef CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE uint32_t reserved[9]; #endif uint32_t configflag; /* 0x40: Configured Flag Register */ diff --git a/usb_config.h b/usb_config.h index 07cec261..6a1fc714 100644 --- a/usb_config.h +++ b/usb_config.h @@ -54,7 +54,7 @@ #define CONFIG_USB_EHCI_QH_NUM (10) #define CONFIG_USB_EHCI_QTD_NUM (10) // #define CONFIG_USB_EHCI_INFO_ENABLE -// #define CONFIG_USB_ECHI_HCOR_RESERVED +// #define CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE // #define CONFIG_USB_EHCI_CONFIGFLAG #endif
\ No newline at end of file |
