c7b4b4cee2
Add support for the Comtrend AR-5315u router This a BCM6318 based board, 64 MB RAM, 16 MB SPI flash, with an onboard BCM43217 wifi, 4 ethernet ports and 1 USB host port Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> [jonas.gorski: refreshed patch] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
43 lines
503 B
Bash
43 lines
503 B
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
#
|
|
#
|
|
|
|
. /lib/functions.sh
|
|
|
|
do_fixcrc() {
|
|
mtd fixtrx linux
|
|
}
|
|
|
|
case "$(board_name)" in
|
|
a4001n |\
|
|
a4001n1 |\
|
|
ar-5315u |\
|
|
ar-5381u |\
|
|
ar-5387un |\
|
|
bcm96328avng |\
|
|
bcm963281tan |\
|
|
cpva502p |\
|
|
cpva642 |\
|
|
ct-6373 |\
|
|
dsl-274xb-f |\
|
|
evg2000 |\
|
|
hg622 |\
|
|
magic |\
|
|
p870hw-51a_v2 |\
|
|
r1000h |\
|
|
r5010un_v2 |\
|
|
rta770bw |\
|
|
rta770w |\
|
|
spw303v |\
|
|
v2110 |\
|
|
v2500v_bb |\
|
|
vh4032n |\
|
|
vr-3025u |\
|
|
vr-3025un |\
|
|
vr-3026e |\
|
|
wap-5813n)
|
|
do_fixcrc
|
|
;;
|
|
esac
|