brcm63xx: base-files: rename board_name to board_id
[openwrt.git] / target / linux / brcm63xx / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 46be9d3..23e9b4f 100644 (file)
@@ -12,7 +12,7 @@ rt2x00_eeprom_extract() {
        local count=$3
        local mtd
 
-       . /etc/functions.sh
+       . /lib/functions.sh
 
        mtd=$(find_mtd_part $part)
        [ -n "$mtd" ] || \
@@ -26,11 +26,14 @@ rt2x00_eeprom_extract() {
 
 . /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"
                ;;