aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-29 10:25:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-29 10:25:40 +0000
commit155510ec8e938f5bea4a35a5e11d93b81ed6bd20 (patch)
treed74d016bc5e75029d5fd0aa187c01177408993d5 /target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom
parenta40fb63ca6c4dbe2868f2e11d1d9985f31de131c (diff)
downloadupstream-155510ec8e938f5bea4a35a5e11d93b81ed6bd20.tar.gz
upstream-155510ec8e938f5bea4a35a5e11d93b81ed6bd20.tar.bz2
upstream-155510ec8e938f5bea4a35a5e11d93b81ed6bd20.zip
BB: remove some targets that are broken or have the wrong kernel version
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41876 3c298f89-4303-0410-b956-a3cf2f4a3e73
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-eeprom30
1 files changed, 0 insertions, 30 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 ca92f80bea..0000000000
--- a/target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom
+++ /dev/null
@@ -1,30 +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
- }
-}
-
-[ "$FIRMWARE" = "3826.eeprom" ] && {
- [ -z "$(grep -e 'Nokia N810' /proc/cpuinfo)" ] || {
- [ -e /lib/firmware/3826.eeprom ] ||\
- p54spi_eeprom_extract
- }
-}