fix trx checksum after first boot and add led/button definitions for boards RTA770BW...
[openwrt/openwrt.git] / target / linux / brcm63xx / base-files / etc / uci-defaults / 09_fix_crc
1 #!/bin/sh
2 #
3 # Copyright (C) 2007 OpenWrt.org
4 #
5 #
6
7 . /lib/brcm63xx.sh
8
9 do_fixcrc() {
10 mtd fixtrx linux
11 }
12
13 brcm63xx_detect
14
15 case "$board_name" in
16 96328avng |\
17 96328A-1241N |\
18 96328A-1441N1 |\
19 963281TAN |\
20 963281T_TEF |\
21 96358-502V |\
22 "CPVA502+" |\
23 AW4339U |\
24 CPVA642 |\
25 CT6373-1 |\
26 MAGIC |\
27 V2110 |\
28 RTA770BW |\
29 RTA770W |\
30 V2500V_BB)
31 do_fixcrc
32 ;;
33 esac
34