From: John Crispin Date: Mon, 15 Jul 2013 11:34:13 +0000 (+0000) Subject: ramips: add a patch to make dwc2 work with boards that have an old bootloader X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bd78f2b56e220f130f1a730bf4517ca17b885b07;p=openwrt%2Fstaging%2Fyousong.git ramips: add a patch to make dwc2 work with boards that have an old bootloader Signed-off-by: John Crispin SVN-Revision: 37339 --- diff --git a/target/linux/ramips/patches-3.10/0035-USB-dwc2.patch b/target/linux/ramips/patches-3.10/0035-USB-dwc2.patch new file mode 100644 index 0000000000..bd84c46085 --- /dev/null +++ b/target/linux/ramips/patches-3.10/0035-USB-dwc2.patch @@ -0,0 +1,13 @@ +Index: linux-3.10.1/drivers/staging/dwc2/hcd.c +=================================================================== +--- linux-3.10.1.orig/drivers/staging/dwc2/hcd.c 2013-07-13 20:42:41.000000000 +0200 ++++ linux-3.10.1/drivers/staging/dwc2/hcd.c 2013-07-15 13:25:34.220821275 +0200 +@@ -2712,6 +2712,8 @@ + + dev_dbg(hsotg->dev, "DWC OTG HCD INIT\n"); + ++ writel(0, hsotg->regs + 0xe00); ++ + /* + * Attempt to ensure this device is really a DWC_otg Controller. + * Read and verify the GSNPSID register contents. The value should be