diff --git a/patch/u-boot/u-boot-rockchip/zzz-usb-otg-fix.patch b/patch/u-boot/u-boot-rockchip/zzz-usb-otg-fix.patch new file mode 100644 index 0000000000..dcfbaea5ad --- /dev/null +++ b/patch/u-boot/u-boot-rockchip/zzz-usb-otg-fix.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c +index cefe9d83..f7288203 100644 +--- a/drivers/usb/host/dwc2.c ++++ b/drivers/usb/host/dwc2.c +@@ -440,6 +440,8 @@ static void dwc_otg_core_init(struct dwc2_priv *priv) + + writel(usbcfg, ®s->gusbcfg); + ++ mdelay(10); ++ + /* Program the GAHBCFG Register. */ + switch (readl(®s->ghwcfg2) & DWC2_HWCFG2_ARCHITECTURE_MASK) { + case DWC2_HWCFG2_ARCHITECTURE_SLAVE_ONLY: