aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-16 20:02:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-16 20:02:17 +0000
commit8567c34340b45d48d905a75084598a0995d5d502 (patch)
tree2bf0025f5211a88214b6dc4d0159198bf9b6a11c
parent938a8c4217ac2a3864192180b906bc5fe82b357f (diff)
downloadupstream-8567c34340b45d48d905a75084598a0995d5d502.tar.gz
upstream-8567c34340b45d48d905a75084598a0995d5d502.tar.bz2
upstream-8567c34340b45d48d905a75084598a0995d5d502.zip
brcm-2.4: nvram_set has been removed, remove some remaining calls to it
SVN-Revision: 15878
-rw-r--r--package/broadcom-57xx/src/bcmrobo.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/broadcom-57xx/src/bcmrobo.c b/package/broadcom-57xx/src/bcmrobo.c
index 72824f6f62..7a5434b506 100644
--- a/package/broadcom-57xx/src/bcmrobo.c
+++ b/package/broadcom-57xx/src/bcmrobo.c
@@ -788,13 +788,6 @@ bcm_robo_attach(sb_t *sbh, void *h, char *name, char *vars, miird_f miird, miiwr
sb_gpioouten(robo->sbh, reset, reset, GPIO_DRV_PRIORITY);
bcm_mdelay(50);
- if (robo->devid == DEVID5395)
- nvram_set("switch_type", "BCM5395");
- else if(robo->devid == DEVID5397)
- nvram_set("switch_type", "BCM5397");
- else
- nvram_set("switch_type", "unknown");
-
/* Keep RESET high for at least 20 ms */
sb_gpioout(robo->sbh, reset, reset, GPIO_DRV_PRIORITY);
bcm_mdelay(20);