brcm63xx: add support for Huawei HG622
[openwrt/openwrt.git] / target / linux / brcm63xx / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 23e9b4f796956d03cb9e495a753826fa8bce0c6d..21c510f17beac9fed4572c366718af782e9a7695 100644 (file)
@@ -26,14 +26,18 @@ rt2x00_eeprom_extract() {
 
 . /lib/brcm63xx.sh
 
-board=$board_id
+board=$(brcm63xx_board_name)
 
 case "$FIRMWARE" in
 "rt2x00.eeprom" )
        case $board in
-       HW556_C)
+       hg556a_c)
                rt2x00_eeprom_extract "cal_data" 130560 512
                ;;
+       hg622 |\
+       hg655b)
+               rt2x00_eeprom_extract "cal_data" 0 512
+               ;;
        *)
                rt2x00_eeprom_die "board $board is not supported yet"
                ;;