2
0
forked from Ivasoft/openwrt

lantiq: use uniform "u-boot-env" mtd label

This is the most popular choice in the linux kernel tree.

Within OpenWrt, this change will establish consistency with ath79
and ramips targets.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
[extend commit message, include netgear_dm200, update base-files]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Martin Schiller
2020-09-15 08:24:22 +02:00
committed by Adrian Schmutzler
parent 9f0d882680
commit a594a5a330
81 changed files with 85 additions and 85 deletions

View File

@@ -90,7 +90,7 @@ lantiq_setup_macs()
bt,homehub-v3a|\
netgear,dgn3500|\
netgear,dgn3500b)
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,arv7506pw11)

View File

@@ -39,11 +39,11 @@ case "$FIRMWARE" in
;;
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