ath79: fortinet-fap-221-b: convert to nvmem-layout
authorLech Perczak <lech.perczak@gmail.com>
Thu, 16 Nov 2023 16:30:11 +0000 (17:30 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 26 Nov 2023 23:34:49 +0000 (00:34 +0100)
commit32098554d911f092b9779e4768bf6d819d850bb5
tree9ad5c8f18fb035e7374682e9076c6c6545bbd6f3
parent7e5e0100358d59e6652ddbe2869f804c19854922
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>
target/linux/ath79/dts/ar9344_fortinet_fap-221-b.dts
target/linux/ath79/generic/base-files/etc/board.d/02_network
target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
target/linux/ath79/generic/base-files/lib/preinit/10_fix_eth_mac.sh