summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib/ramips.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-22 15:36:39 +0000
committerJohn Crispin <john@openwrt.org>2013-07-22 15:36:39 +0000
commit0cc1e2acb41a6c0e24579fe35313c81a0751a71a (patch)
treed4c080590dc3d944aa87d3dedbd350db98815317 /target/linux/ramips/base-files/lib/ramips.sh
parent11d027380ea8105a7e9120fbc5fb74f32435b82b (diff)
downloadmtk-20170518-0cc1e2acb41a6c0e24579fe35313c81a0751a71a.zip
mtk-20170518-0cc1e2acb41a6c0e24579fe35313c81a0751a71a.tar.gz
mtk-20170518-0cc1e2acb41a6c0e24579fe35313c81a0751a71a.tar.bz2
ramips: Add support for Huawei HG255D in trunk
HG255D is a kind of popular low-end home gateway in China, this patch bring the the trunk support for it. It is adapted from a local Chinese community (www.right.com.cn), so credit should given to them. This patch is tested to work except trivial LED issues. Signed-off-by: Leon Xu <ylxu72@gmail.com> SVN-Revision: 37505
Diffstat (limited to 'target/linux/ramips/base-files/lib/ramips.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index c5f216f..22c9885 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -217,6 +217,9 @@ ramips_board_detect() {
*"XDX RN502J")
name="xdxrn502j"
;;
+ *"HG255D")
+ name="hg255d"
+ ;;
*)
name="generic"
;;