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

. /lib/brcm63xx.sh

do_fixcrc() {
	mtd fixtrx linux
}

brcm63xx_detect

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