[lantiq] generate uboot environment data in target
[openwrt.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index e2dfc16..ad5652a 100644 (file)
@@ -24,9 +24,11 @@ rt2x00_eeprom_extract() {
 
 [ -e /lib/firmware/$FIRMWARE ] && exit 0
 
+. /lib/lantiq.sh
+
 case "$FIRMWARE" in
 "RT2860.eeprom" )
-       local board=$(grep ^machine /proc/cpuinfo | sed "s/machine.*: \(.*\) - .*/\1/g")
+       local board=$(lantiq_board_name)
        case $board in
        ARV7525PW)
                rt2x00_eeprom_extract "board_config" 1040 272
This page took 0.020224 seconds and 4 git commands to generate.