1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-05 04:23:50 +03:00

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
This commit is contained in:
nbd 2009-05-16 20:02:17 +00:00
parent edea5bf8fe
commit 55d0ab63ea

View File

@ -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);