summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-02-22 19:12:51 +0800
committersakumisu <[email protected]>2025-02-22 19:12:51 +0800
commit8ac0b65b308d45f539232c3ab135ded08054cde4 (patch)
tree82d087a488f0e20eb42c60d15f53c77b30901a1c
parent68434ccf7d17061b83b890404d10f17ccc9d41a3 (diff)
fix(port/dwc2/usb_glue_st): set GCCFG zero in host for stm32h7rs
Signed-off-by: sakumisu <[email protected]>
-rw-r--r--port/dwc2/usb_glue_st.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/port/dwc2/usb_glue_st.c b/port/dwc2/usb_glue_st.c
index 4dff31f8..51838091 100644
--- a/port/dwc2/usb_glue_st.c
+++ b/port/dwc2/usb_glue_st.c
@@ -194,8 +194,6 @@ uint32_t usbh_get_dwc2_gccfg_conf(uint32_t reg_base)
USB_OTG_GLB->GCCFG = (1 << 23);
usb_hsphy_init(25000000U);
return (1 << 23); /* Enable USB HS PHY USBx->GCCFG |= USB_OTG_GCCFG_PHYHSEN;*/
-#elif __has_include("stm32h7rsxx.h")
- return (1 << 21);
#else
return 0;
#endif