This patchset goes on with the attempt to - speed up caldata/eeprom handling by reading blockwise (patch 1 to 3), - merge the similar functions in one library (patch 4).
Patchset v5 squashes the eeprom.sh merge into one patch since all targets have been tested now. (Thanks to Petr.) A further benefit of the two-step changes (first speed up, then merge) is that the speedup may be backported to openwrt-18.06 easily ... Adrian Schmutzler (4): ath79: Speed up caldata/eeprom handling ar71xx: Speed up caldata/eeprom handling ar71xx: Speed up mtd extraction in ar71xx.sh ar71xx/ath79/ipq40xx/ramips: Merge eeprom/caldata extraction package/base-files/files/lib/functions/eeprom.sh | 91 ++++++++++++++++++++ .../etc/hotplug.d/firmware/10-ath9k-eeprom | 99 +++++----------------- .../etc/hotplug.d/firmware/11-ath10k-caldata | 80 ++++++----------- target/linux/ar71xx/base-files/lib/ar71xx.sh | 4 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 86 ++++++------------- .../etc/hotplug.d/firmware/11-ath10k-caldata | 62 ++++---------- .../etc/hotplug.d/firmware/11-ath10k-caldata | 82 +++++------------- .../etc/hotplug.d/firmware/10-rt2x00-eeprom | 32 ++----- 8 files changed, 209 insertions(+), 327 deletions(-) create mode 100644 package/base-files/files/lib/functions/eeprom.sh -- 2.11.0 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel