2
0
forked from Ivasoft/openwrt

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
This commit is contained in:
Jonas Gorski
2015-03-16 11:52:42 +00:00
parent 52ffc6faa7
commit 098377af25
4 changed files with 94 additions and 92 deletions

View File

@@ -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