summaryrefslogtreecommitdiff
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-01-23 12:12:23 +0000
committerJohn Crispin <john@openwrt.org>2011-01-23 12:12:23 +0000
commit699f5c872992ddd97ec7cfcb39ec8933f463e8aa (patch)
tree8b56bb50110ac2cca7050e87db01d96edf329d83 /target/linux/lantiq
parent7c9e1370e910ddd70ef79ddd41eea8357aa2b43e (diff)
downloadmtk-20170518-699f5c872992ddd97ec7cfcb39ec8933f463e8aa.zip
mtk-20170518-699f5c872992ddd97ec7cfcb39ec8933f463e8aa.tar.gz
mtk-20170518-699f5c872992ddd97ec7cfcb39ec8933f463e8aa.tar.bz2
remove deadcode from [25072]
SVN-Revision: 25073
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/patches/260-pci.patch5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/lantiq/patches/260-pci.patch b/target/linux/lantiq/patches/260-pci.patch
index e9a66c7..6c0ca47 100644
--- a/target/linux/lantiq/patches/260-pci.patch
+++ b/target/linux/lantiq/patches/260-pci.patch
@@ -140,7 +140,7 @@
+}
--- /dev/null
+++ b/arch/mips/pci/pci-lantiq.c
-@@ -0,0 +1,305 @@
+@@ -0,0 +1,302 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
@@ -302,9 +302,6 @@
+ gmap[i].alt1, gmap[i].dir, gmap[i].name);
+ }
+ }
-+ lq_w32(lq_r32((u32*)0xBF101000) | 0x60, (u32*)0xBF101000);
-+ lq_w32(lq_r32((u32*)0xBF101004) & ~2, (u32*)0xBF101004);
-+ lq_w32(lq_r32((u32*)0xBF10100C) | 2, (u32*)0xBF10100C);
+ for(i = 0; i < 3; i++)
+ {
+ if(gpio & (1 << i))