aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-11 17:08:40 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-11 17:08:40 +0000
commit2c0cefef77fd89697cbb281cd3eccc4c4bd24ef2 (patch)
treedf36f61178c666061749e04a11c21d4331524fdc /target
parent2b0eb2e042e82ac75e2613b948fed3906625c36e (diff)
downloadupstream-2c0cefef77fd89697cbb281cd3eccc4c4bd24ef2.tar.gz
upstream-2c0cefef77fd89697cbb281cd3eccc4c4bd24ef2.tar.bz2
upstream-2c0cefef77fd89697cbb281cd3eccc4c4bd24ef2.zip
lantiq: make the new dwc2 support only work for vr9
danube needs to be added Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44677 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch b/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch
index 938ae65313..cf9f00b5db 100644
--- a/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch
+++ b/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch
@@ -1,5 +1,5 @@
---- a/arch/mips/lantiq/xway/reset.c 2015-02-09 18:23:01.837007936 +0200
-+++ b/arch/mips/lantiq/xway/reset.c 2015-02-09 19:16:43.006081435 +0200
+--- a/arch/mips/lantiq/xway/reset.c
++++ b/arch/mips/lantiq/xway/reset.c
@@ -44,6 +44,37 @@
#define RCU_BOOT_SEL(x) ((x >> 18) & 0x7)
#define RCU_BOOT_SEL_XRX200(x) (((x >> 17) & 0xf) | ((x >> 8) & 0x10))
@@ -84,11 +84,12 @@
static int __init mips_reboot_setup(void)
{
struct resource res;
-@@ -223,6 +293,8 @@
+@@ -223,6 +293,9 @@
if (!ltq_rcu_membase)
panic("Failed to remap core memory");
-+ ltq_usb_init();
++ if (of_machine_is_compatible("lantiq,vr9"))
++ ltq_usb_init();
+
_machine_restart = ltq_machine_restart;
_machine_halt = ltq_machine_halt;