summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-15 11:34:13 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-15 11:34:13 +0000
commitf560d7541cbacfb4002512e47d1ae1730f016fbc (patch)
treeb5717080e3a236d3d843332a2e2341f1381e7e41 /target
parentb1b66cfe105d7bbbf5a5dbcc9688a8fb77cb7f21 (diff)
ramips: add a patch to make dwc2 work with boards that have an old bootloader
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37339 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-3.10/0035-USB-dwc2.patch13
1 files changed, 13 insertions, 0 deletions
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