2012-05-17 21:22:38 +08:00
|
|
|
--- a/arch/mips/bcm47xx/setup.c
|
|
|
|
+++ b/arch/mips/bcm47xx/setup.c
|
2012-07-25 22:52:00 +08:00
|
|
|
@@ -115,8 +115,6 @@ static int bcm47xx_get_invariants(struct
|
2012-05-17 21:22:38 +08:00
|
|
|
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);
|
2012-07-25 22:52:00 +08:00
|
|
|
|