summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files/etc
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-05-27 13:22:08 +0000
committerJonas Gorski <jogo@openwrt.org>2012-05-27 13:22:08 +0000
commitdd37687de0852be2b912f7f38b57de8a8fbc04e5 (patch)
treec024252527d57b4d51ec551fb6a8148c1692dfdb /target/linux/brcm63xx/base-files/etc
parentb85c7c117a6f26bc490d9a5ec8b6c137dcc59f6d (diff)
downloadmtk-20170518-dd37687de0852be2b912f7f38b57de8a8fbc04e5.zip
mtk-20170518-dd37687de0852be2b912f7f38b57de8a8fbc04e5.tar.gz
mtk-20170518-dd37687de0852be2b912f7f38b57de8a8fbc04e5.tar.bz2
bcm63xx: use the exact board id as board identification string
No need to keep the bcm63xx/ at the start or the chipid info at the end. SVN-Revision: 31871
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh b/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh
index 965ddba..e63ecfd 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh
@@ -13,8 +13,11 @@ do_fixcrc() {
brcm63xx_detect
case "$board_name" in
- "bcm63xx/CPVA642 "* | "bcm63xx/MAGIC "* | "bcm63xx/V2500V_BB "* | \
- "bcm63xx/V2110 "* | "bcm63xx/CPVA502+ "*)
+ "CPVA502+" |\
+ CPVA642 |\
+ MAGIC |\
+ V2110 |\
+ V2500V_BB)
do_fixcrc
;;
esac