mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 05:43:20 +02:00
b1e2eade99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31772 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
493 B
Diff
12 lines
493 B
Diff
--- a/arch/mips/bcm47xx/setup.c
|
|
+++ b/arch/mips/bcm47xx/setup.c
|
|
@@ -163,8 +163,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);
|
|
|
|
memset(&iv->sprom, 0, sizeof(struct ssb_sprom));
|
|
bcm47xx_fill_sprom(&iv->sprom, NULL);
|