summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh
blob: 45524aea4bb1af4950116cf7830203f2500ad508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# Copyright (C) 2007 OpenWrt.org
#
#

. /lib/brcm63xx.sh

do_fixcrc() {
	mtd fixtrx linux
}

brcm63xx_detect

case "$board_name" in
	"CPVA502+" |\
	AW4339U |\
	CPVA642 |\
	MAGIC |\
	V2110 |\
	V2500V_BB)
		do_fixcrc
		;;
esac