summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc/board.d
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2023-11-16 17:30:11 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-27 00:34:49 +0100
commit32098554d911f092b9779e4768bf6d819d850bb5 (patch)
tree9ad5c8f18fb035e7374682e9076c6c6545bbd6f3 /target/linux/ath79/generic/base-files/etc/board.d
parent7e5e0100358d59e6652ddbe2869f804c19854922 (diff)
downloadopenwrt-32098554d911f092b9779e4768bf6d819d850bb5.tar.gz
openwrt-32098554d911f092b9779e4768bf6d819d850bb5.tar.bz2
openwrt-32098554d911f092b9779e4768bf6d819d850bb5.zip
ath79: fortinet-fap-221-b: convert to nvmem-layout
Now that MAC address parser supports the hex format (without delimiters), use the canonical MAC address stored in U-boot partition. Get rid of the userspace adjustments which are no longer necessary. While at that, move the mac-base to the common part, as it is again exactly the same in both models. And convert ART partition too - keep that one separate, as calibration data length differs between the models. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/board.d')
-rw-r--r--target/linux/ath79/generic/base-files/etc/board.d/02_network4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index cdea3b5f67..b74a7ff6b4 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -726,10 +726,6 @@ ath79_setup_macs()
enterasys,ws-ap3705i)
label_mac=$(mtd_get_mac_ascii u-boot-env0 ethaddr)
;;
- fortinet,fap-221-b)
- lan_mac=$(mtd_get_mac_text u-boot 0x3ff80 12)
- label_mac=$lan_mac
- ;;
hak5,lan-turtle|\
hak5,packet-squirrel)
label_mac=$(mtd_get_mac_binary u-boot 0x1fc00)