local count=$3
local mtd
- . /etc/functions.sh
+ . /lib/functions.sh
mtd=$(find_mtd_part $part)
[ -n "$mtd" ] || \
}
[ -e /lib/firmware/$FIRMWARE ] && exit 0
-
-. /lib/lantiq.sh
+. /lib/functions/lantiq.sh
case "$FIRMWARE" in
"RT2860.eeprom" )
- local board=$(lantiq_board_name)
+ local board=$(lantiq_board_id)
case $board in
- ARV7525PW|ARV752DPW)
- rt2x00_eeprom_extract "board_config" 1040 272
+ ARV7510PW22|ARV7519PW|ARV7525PW|ARV752DPW|ARV752DPW22)
+ rt2x00_eeprom_extract "board_config" 1040 512
;;
*)
rt2x00_eeprom_die "board $board is not supported yet"