summaryrefslogtreecommitdiffstats
path: root/package/broadcom-57xx
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-16 20:02:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-16 20:02:17 +0000
commit55d0ab63ead4003151aed5f12ad4184998eba59e (patch)
treef496af4f39450842789c1500746bc54e3493b143 /package/broadcom-57xx
parentedea5bf8fea8f42d639a2e925ee168748ee97ac9 (diff)
brcm-2.4: nvram_set has been removed, remove some remaining calls to it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15878 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-57xx')
-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 72824f6f6..7a5434b50 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);