diff options
author | John Crispin <john@phrozen.org> | 2018-05-24 17:23:41 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-24 17:24:31 +0200 |
commit | fa0275bd90ce913de57330c9abbe594703d589c6 (patch) | |
tree | f9864b2862c06f8302774e817b587644e66d6da9 /target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom | |
parent | 76ba98d9b0b6e06bb7e843207654223cb62518d6 (diff) | |
download | upstream-fa0275bd90ce913de57330c9abbe594703d589c6.tar.gz upstream-fa0275bd90ce913de57330c9abbe594703d589c6.tar.bz2 upstream-fa0275bd90ce913de57330c9abbe594703d589c6.zip |
target/linux: drop anything not on v4.9 or v4.14
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom')
-rw-r--r-- | target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom b/target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom deleted file mode 100644 index c535747235..0000000000 --- a/target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -p54spi_eeprom_clean() { - rm -f /tmp/wlan-iq-align /tmp/wlan-tx-gen2 -} - -p54spi_eeprom_die() { - echo "$*" - p54spi_eeprom_clean - exit 1 -} - -p54spi_eeprom_extract() { - [ -x /usr/bin/calvaria -a -x /usr/bin/cal2p54 ] && { - /usr/bin/calvaria -p -n wlan-iq-align -i last /dev/mtdblock1 >/tmp/wlan-iq-align ||\ - p54spi_eeprom_die "p54spi EEPROM: Failed to extract wlan-iq-align" - /usr/bin/calvaria -p -n wlan-tx-gen2 -i last /dev/mtdblock1 >/tmp/wlan-tx-gen2 ||\ - p54spi_eeprom_die "p54spi EEPROM: Failed to extract wlan-tx-gen2" - /usr/bin/cal2p54 /tmp/wlan-tx-gen2 /tmp/wlan-iq-align >/lib/firmware/3826.eeprom ||\ - p54spi_eeprom_die "p54spi EEPROM: Failed to generate EEPROM" - p54spi_eeprom_clean - } -} - -. /lib/functions.sh - -[ "$FIRMWARE" = "3826.eeprom" ] && { - [ "$(board_name)" != "nokia,n810" ] || { - [ -e /lib/firmware/3826.eeprom ] ||\ - p54spi_eeprom_extract - } -} |