From dd6bbbabd31a44a2a6fd849131b3a03b6ad53946 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 3 Jun 2024 17:26:55 -0700 Subject: [PATCH] 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 --- .../generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 4 ---- .../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 -- 2.30.2