[openwrt/openwrt] ath79: 8dev: remove wmac userspace handling

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 9 03:40:11 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/dd6bbbabd31a44a2a6fd849131b3a03b6ad53946

commit dd6bbbabd31a44a2a6fd849131b3a03b6ad53946
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Mon Jun 3 17:26:55 2024 -0700

    ath79: 8dev: remove wmac userspace handling
    
    Before the nvmem rework, this was already handled in dts with
    mtd-cal-data instead of qca,no-eeprom. No need to duplicate. Also, the
    800 size value seems nonsensical. 440 is the standard.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 .../ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom   | 4 ----
 .../ath79/nand/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom      | 3 ---
 2 files changed, 7 deletions(-)

diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index b1e4cd0038..ddcef7b685 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -9,10 +9,6 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath9k-eeprom-ahb-18100000.wmac.bin")
 	case $board in
-	8dev,carambola3|\
-	8dev,lima)
-		caldata_extract "art" 0x1000 0x800
-		;;
 	aruba,ap-115)
 		caldata_extract "oemdata" 0x1000 0x440
 		;;
diff --git a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index c4ccb04f5b..ca722040f6 100644
--- a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -9,9 +9,6 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath9k-eeprom-ahb-18100000.wmac.bin")
 	case $board in
-	8dev,rambutan)
-		caldata_extract "caldata" 0x1000 0x800
-		;;
 	meraki,mr18)
 		. /lib/upgrade/nand.sh
 




More information about the lede-commits mailing list