forked from Ivasoft/openwrt
ath79: utilize nvmem on Netgear EX7300 v2
mtd-mac-address should no longer be used after commit5ae2e78639("kernel: drop support for mtd-mac-address"). Convert it to nvmem-cells. While at it, also convert OpenWrt's custom mtd-cal-data property and userspace pre-calibration data extraction to the nvmem implementation. Note: nvmem-cells in QCN5502 wmac has not been tested. Fixes:c32008a37b("ath79: add partial support for Netgear EX7300v2") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
This commit is contained in:
@@ -219,10 +219,6 @@ case "$FIRMWARE" in
|
||||
caldata_extract "caldata" 0x5000 0x2f20
|
||||
ath10k_patch_mac $(mtd_get_mac_binary caldata 0xc)
|
||||
;;
|
||||
netgear,ex7300-v2)
|
||||
caldata_extract "art" 0x5000 0x2f20
|
||||
ath10k_patch_mac $(mtd_get_mac_binary artmtd 0xc)
|
||||
;;
|
||||
phicomm,k2t)
|
||||
caldata_extract "art" 0x5000 0x2f20
|
||||
ath10k_patch_mac $(k2t_get_mac "5g_mac")
|
||||
|
||||
Reference in New Issue
Block a user