ath79: 8dev: remove wmac userspace handling
authorRosen Penev <rosenp@gmail.com>
Tue, 4 Jun 2024 00:26:55 +0000 (17:26 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 9 Jun 2024 10:24:15 +0000 (12:24 +0200)
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@gmail.com>
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom

index b1e4cd0038d7acd4efbdec1d352b4877680f3fba..ddcef7b685ebf5883fb0351118d964bb35770449 100644 (file)
@@ -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
                ;;
index c4ccb04f5bc76511724c2c0775a98fb0313c19f0..ca722040f6ec05321858dd9b87615add324477f2 100644 (file)
@@ -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