brcm63xx: use compatible instead of manually setting board name
[openwrt/openwrt.git] / target / linux / brcm63xx / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 2400eb998a4084a8303ee83d4d1b81d525121001..0e92481f08c69d9b0134d4b700bc69957f42e7f4 100644 (file)
@@ -10,11 +10,11 @@ board=$(board_name)
 case "$FIRMWARE" in
 "rt2x00.eeprom" )
        case $board in
-       hg556a_c)
+       huawei,echolife-hg556a-c)
                caldata_extract "cal_data" 0x1fe00 0x200
                ;;
-       hg622 |\
-       hg655b)
+       huawei,echolife-hg622|\
+       huawei,echolife-hg655b)
                caldata_extract "cal_data" 0x0 0x200
                ;;
        *)