fix(port/dwc2/usb_glue_st): set GCCFG zero in host for stm32h7rs

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu 2025-02-22 19:12:51 +08:00
parent 68434ccf7d
commit 8ac0b65b30

View File

@ -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