projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use only board_name function to get name
[openwrt/openwrt.git]
/
target
/
linux
/
omap24xx
/
base-files
/
etc
/
hotplug.d
/
firmware
/
20-p54spi-eeprom
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
index ca92f80bea84a5be08221057508a650d285aa324..c535747235ceb6038916a2cf15af3a43ff8d0555 100644
(file)
--- 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
@@
-22,8
+22,10
@@
p54spi_eeprom_extract() {
}
}
+. /lib/functions.sh
+
[ "$FIRMWARE" = "3826.eeprom" ] && {
- [
-z "$(grep -e 'Nokia N810' /proc/cpuinfo)
" ] || {
+ [
"$(board_name)" != "nokia,n810
" ] || {
[ -e /lib/firmware/3826.eeprom ] ||\
p54spi_eeprom_extract
}