diff options
author | Sungbo Eo <mans0n@gorani.run> | 2022-02-09 01:32:47 +0900 |
---|---|---|
committer | Sungbo Eo <mans0n@gorani.run> | 2022-02-20 13:45:06 +0900 |
commit | 3e3e78de1103cb0c5af4cc229152236758c37901 (patch) | |
tree | 5323b71c84e13cdeb203f06f731c41c04baecff2 /target/linux/ath79/generic/base-files/etc | |
parent | b0d5939b80008aca8090832eb9918b998f08e8f3 (diff) | |
download | upstream-3e3e78de1103cb0c5af4cc229152236758c37901.tar.gz upstream-3e3e78de1103cb0c5af4cc229152236758c37901.tar.bz2 upstream-3e3e78de1103cb0c5af4cc229152236758c37901.zip |
ath79: utilize nvmem on Netgear EX7300 v2
mtd-mac-address should no longer be used after commit 5ae2e786395c
("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: c32008a37b81 ("ath79: add partial support for Netgear EX7300v2")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc')
-rw-r--r-- | target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index cf16fa2318..a7ea58b507 100644 --- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -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") |