treewide: use the generic board_name function
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / base-files / etc / uci-defaults / 09_fix_crc
index f307a4cabe5dd0031191f7ab0fa1d67f5e66d94d..94c422392ea3c5f8c1f758793646993af1508427 100644 (file)
@@ -4,13 +4,13 @@
 #
 #
 
-. /lib/brcm63xx.sh
+. /lib/functions.sh
 
 do_fixcrc() {
        mtd fixtrx linux
 }
 
-case "$(brcm63xx_board_name)" in
+case "$(board_name)" in
        a4001n |\
        a4001n1 |\
        ar-5381u |\
@@ -21,13 +21,18 @@ case "$(brcm63xx_board_name)" in
        cpva642 |\
        ct-6373 |\
        dsl-274xb-f |\
+       evg2000 |\
+       hg622 |\
        magic |\
        p870hw-51a_v2 |\
+       r1000h |\
+       r5010un_v2 |\
        rta770bw |\
        rta770w |\
        spw303v |\
        v2110 |\
        v2500v_bb |\
+       vh4032n |\
        vr-3025u |\
        vr-3025un |\
        vr-3026e |\
@@ -35,4 +40,3 @@ case "$(brcm63xx_board_name)" in
                do_fixcrc
                ;;
 esac
-