PD#164190: usb: set bit18 of GUCTL1.[1/1]
for improve bulk transfer performance.
Change-Id: I986ddea677a9a31a6613cf00936b4c4e79449c1e
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
if (ret)
goto err0;
#ifdef CONFIG_AMLOGIC_USB
+ reg = dwc3_readl(dwc->regs, DWC3_GUCTL1);
+ reg |= DWC3_GUCTL_NAKPERENHHS;
+ dwc3_writel(dwc->regs, DWC3_GUCTL1, reg);
+
reg = dwc3_readl(dwc->regs, DWC3_GUCTL);
reg |= DWC3_GUCTL_USBHSTINAUTORETRYEN;
dwc3_writel(dwc->regs, DWC3_GUCTL, reg);
#ifdef CONFIG_AMLOGIC_USB
/* Global User Control Register */
#define DWC3_GUCTL_USBHSTINAUTORETRYEN (1 << 14)
+#define DWC3_GUCTL_NAKPERENHHS (1 << 18)
#endif
/* Global Debug Queue/FIFO Space Available Register */