summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-03-16 11:52:42 +0000
committerJonas Gorski <jogo@openwrt.org>2015-03-16 11:52:42 +0000
commit098377af257c8c1d5775aff414b7e2243605e2ba (patch)
treee0fe8c414f6552151e8bcf7b19d4aaa25b8b89de /target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
parent52ffc6faa7af5687944feae7d91badab5e58842b (diff)
downloadmaster-31e0f0ae-098377af257c8c1d5775aff414b7e2243605e2ba.tar.gz
master-31e0f0ae-098377af257c8c1d5775aff414b7e2243605e2ba.tar.bz2
master-31e0f0ae-098377af257c8c1d5775aff414b7e2243605e2ba.zip
brcm63xx: switch to board_name based configuration
Board IDs are not unique, so in preparation for depricating them, always use board_name for any (default) configuration decisions. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44836
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc')
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc44
1 files changed, 21 insertions, 23 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
index c1c0194d33..4a167dc297 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
@@ -10,29 +10,27 @@ do_fixcrc() {
mtd fixtrx linux
}
-brcm63xx_detect
-
-case "$board_id" in
- 96328avng |\
- 96328A-1241N |\
- 96328A-1441N1 |\
- 963281TAN |\
- 963281T_TEF |\
- 96328dg2x2 |\
- 96358-502V |\
- 96368M-1341N |\
- 96368M-1541N |\
- 96369R-1231N |\
- AW4339U |\
- "CPVA502+" |\
- CPVA642 |\
- CT6373-1 |\
- MAGIC |\
- P870HW-51a_v2 |\
- RTA770BW |\
- RTA770W |\
- V2110 |\
- V2500V_BB)
+case "$(brcm63xx_board_name)" in
+ a4001n |\
+ a4001n1 |\
+ ar-5381u |\
+ ar-5387un |\
+ bcm96328avng |\
+ bcm963281tan |\
+ cpva502p |\
+ cpva642 |\
+ ct-6373 |\
+ dsl-274xb-f |\
+ magic |\
+ p870hw-51a_v2 |\
+ rta770bw |\
+ rta770w |\
+ spw303v |\
+ v2110 |\
+ v2500v_bb |\
+ vr-3025u |\
+ vr-3025un |\
+ wap-5813n)
do_fixcrc
;;
esac