mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
brcm-2.4: nvram_set has been removed, remove some remaining calls to it
SVN-Revision: 15878
This commit is contained in:
parent
938a8c4217
commit
8567c34340
@ -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);
|
sb_gpioouten(robo->sbh, reset, reset, GPIO_DRV_PRIORITY);
|
||||||
bcm_mdelay(50);
|
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 */
|
/* Keep RESET high for at least 20 ms */
|
||||||
sb_gpioout(robo->sbh, reset, reset, GPIO_DRV_PRIORITY);
|
sb_gpioout(robo->sbh, reset, reset, GPIO_DRV_PRIORITY);
|
||||||
bcm_mdelay(20);
|
bcm_mdelay(20);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user