[ -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