ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
;;
buffalo,wbmr-300hpd)
- idx="$(find_mtd_index ubootconfig)"
+ idx="$(find_mtd_index u-boot-env)"
[ -n "$idx" ] && \
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"
;;
case "$board" in
alphanetworks,asl56026)
- lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
- wan_mac=$(mtd_get_mac_ascii uboot_env wanmac)
+ lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
+ wan_mac=$(mtd_get_mac_ascii u-boot-env wanmac)
;;
arcadyan,arv7519rw22)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 0x16)" 1)
lantiq,easy80920-nor|\
zyxel,p-2812hnu-f1|\
zyxel,p-2812hnu-f3)
- lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
+ lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
arcadyan,vgv7510kw22-brn|\
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
buffalo,wbmr-300hpd)
- lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)
+ lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
wan_mac="$lan_mac"
;;
netgear,dm200)
;;
bt,homehub-v3a)
caldata_extract_swap "art-copy" 0x0 0x1000
- ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot_env ethaddr) +2) 0x10c
+ ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +2) 0x10c
;;
netgear,dgn3500|netgear,dgn3500b)
caldata_extract "calibration" 0xf000 0x1000
- ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot-env ethaddr) +2) 0x20c
+ ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +2) 0x20c
;;
avm,fritz7312|avm,fritz7320)
caldata_extract "urlader" 0x985 0x1000