summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-05-10 11:15:11 +0700
committerhathach <[email protected]>2023-05-10 11:15:11 +0700
commitc0e4c02b9d70240b97aa4924e6002ccb3d8057dd (patch)
treec3d860b46a9db5acd23579f36a5c8ac14cf988e0 /src
parentbc579c045e5d62050f0b58f20fd28fb71e4070a8 (diff)
allow imxrt build with dual exmaples
Diffstat (limited to 'src')
-rw-r--r--src/portable/chipidea/ci_hs/hcd_ci_hs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/portable/chipidea/ci_hs/hcd_ci_hs.c b/src/portable/chipidea/ci_hs/hcd_ci_hs.c
index d607627b4..b06633f30 100644
--- a/src/portable/chipidea/ci_hs/hcd_ci_hs.c
+++ b/src/portable/chipidea/ci_hs/hcd_ci_hs.c
@@ -76,6 +76,8 @@ bool hcd_init(uint8_t rhport)
#endif
// FIXME force full speed, still have issue with Highspeed enumeration
+ // 1. Have issue when plug/unplug devices, maybe the port is not reset properly
+ // 2. Also does not seems to detect disconnection
hcd_reg->PORTSC1 |= PORTSC1_FORCE_FULL_SPEED;
return ehci_init(rhport, (uint32_t) &hcd_reg->CAPLENGTH, (uint32_t) &hcd_reg->USBCMD);