aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2012-07-25 14:52:00 +0000
committerHauke Mehrtens <hauke@openwrt.org>2012-07-25 14:52:00 +0000
commit22ec767935be9f6d8681fbe155baf7935ce9ce06 (patch)
treef4d47ebfdd09178c198a3da734e4e08b4a69d749 /target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch
parent518908b8492da96f6c1bf081dc3aea2f702fcc78 (diff)
downloadupstream-22ec767935be9f6d8681fbe155baf7935ce9ce06.tar.gz
upstream-22ec767935be9f6d8681fbe155baf7935ce9ce06.tar.bz2
upstream-22ec767935be9f6d8681fbe155baf7935ce9ce06.zip
brcm47xx: reorder patches so that the patches already in mainline linux will be applied at first.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32845 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch b/target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch
new file mode 100644
index 0000000000..abfaafb476
--- /dev/null
+++ b/target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/bcm47xx/setup.c
++++ b/arch/mips/bcm47xx/setup.c
+@@ -115,8 +115,6 @@ static int bcm47xx_get_invariants(struct
+ iv->boardinfo.vendor = SSB_BOARDVENDOR_BCM;
+ if (nvram_getenv("boardtype", buf, sizeof(buf)) >= 0)
+ iv->boardinfo.type = (u16)simple_strtoul(buf, NULL, 0);
+- if (nvram_getenv("boardrev", buf, sizeof(buf)) >= 0)
+- iv->boardinfo.rev = (u16)simple_strtoul(buf, NULL, 0);
+
+ bcm47xx_fill_sprom(&iv->sprom, NULL);
+