|
@@ -22,7 +22,12 @@ case "$FIRMWARE" in
|
|
ath10k_patch_mac $(mtd_get_mac_binary ART 0x1e)
|
|
ath10k_patch_mac $(mtd_get_mac_binary ART 0x1e)
|
|
;;
|
|
;;
|
|
edgecore,ecw5410)
|
|
edgecore,ecw5410)
|
|
- caldata_extract "0:ART" 0x1000 0x2f20
|
|
|
|
|
|
+ if [ -b "$(find_mtd_part 0:art)" ]; then
|
|
|
|
+ caldata_extract "0:art" 0x1000 0x2f20
|
|
|
|
+ else
|
|
|
|
+ # XXX: drop upper case after kernel v5.4 is gone (qcom-smem)
|
|
|
|
+ caldata_extract "0:ART" 0x1000 0x2f20
|
|
|
|
+ fi
|
|
;;
|
|
;;
|
|
linksys,ea7500-v1 |\
|
|
linksys,ea7500-v1 |\
|
|
linksys,ea8500)
|
|
linksys,ea8500)
|
|
@@ -115,7 +120,12 @@ case "$FIRMWARE" in
|
|
"ath10k/pre-cal-pci-0002:01:00.0.bin")
|
|
"ath10k/pre-cal-pci-0002:01:00.0.bin")
|
|
case $board in
|
|
case $board in
|
|
edgecore,ecw5410)
|
|
edgecore,ecw5410)
|
|
- caldata_extract "0:ART" 0x5000 0x2f20
|
|
|
|
|
|
+ if [ -b "$(find_mtd_part 0:art)" ]; then
|
|
|
|
+ caldata_extract "0:art" 0x5000 0x2f20
|
|
|
|
+ else
|
|
|
|
+ # XXX: drop upper case after kernel v5.4 is gone (qcom-smem)
|
|
|
|
+ caldata_extract "0:ART" 0x5000 0x2f20
|
|
|
|
+ fi
|
|
;;
|
|
;;
|
|
esac
|
|
esac
|
|
;;
|
|
;;
|