local count=$3
local mtd
- . /etc/functions.sh
+ . /lib/functions.sh
mtd=$(find_mtd_part $part)
[ -n "$mtd" ] || \
. /lib/brcm63xx.sh
-board=$board_name
+board=$board_id
case "$FIRMWARE" in
-"RT3062.eeprom" )
+"rt2x00.eeprom" )
case $board in
+ HW556_C)
+ rt2x00_eeprom_extract "cal_data" 130560 512
+ ;;
*)
rt2x00_eeprom_die "board $board is not supported yet"
;;