3 p54spi_eeprom_clean
() {
4 rm -f /tmp
/wlan-iq-align
/tmp
/wlan-tx-gen2
13 p54spi_eeprom_extract
() {
14 [ -x /usr
/bin
/calvaria
-a -x /usr
/bin
/cal2p54
] && {
15 /usr
/bin
/calvaria
-p -n wlan-iq-align
-i last
/dev
/mtdblock1
>/tmp
/wlan-iq-align ||\
16 p54spi_eeprom_die
"p54spi EEPROM: Failed to extract wlan-iq-align"
17 /usr
/bin
/calvaria
-p -n wlan-tx-gen2
-i last
/dev
/mtdblock1
>/tmp
/wlan-tx-gen2 ||\
18 p54spi_eeprom_die
"p54spi EEPROM: Failed to extract wlan-tx-gen2"
19 /usr
/bin
/cal2p54
/tmp
/wlan-tx-gen2
/tmp
/wlan-iq-align
>/lib
/firmware
/3826.eeprom ||\
20 p54spi_eeprom_die
"p54spi EEPROM: Failed to generate EEPROM"
27 [ "$FIRMWARE" = "3826.eeprom" ] && {
28 [ "$(board_name)" != "nokia,n810" ] ||
{
29 [ -e /lib
/firmware
/3826.eeprom
] ||\