aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-22 15:36:39 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-22 15:36:39 +0000
commita6fc8d2e4d92c3d82763dad102916f10b1aa8627 (patch)
tree93c7d19fba0dedc2ebfb62a944525b4506647c15 /target/linux/ramips/base-files/lib
parentd6e3e9ba4d05fea4e5080d6d585e93f56beae6da (diff)
downloadmaster-187ad058-a6fc8d2e4d92c3d82763dad102916f10b1aa8627.tar.gz
master-187ad058-a6fc8d2e4d92c3d82763dad102916f10b1aa8627.tar.bz2
master-187ad058-a6fc8d2e4d92c3d82763dad102916f10b1aa8627.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37505 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index c5f216f780..22c9885f39 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"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index c7f06b2f43..3513ff4196 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -42,6 +42,7 @@ platform_check_image() {
rt-n13u | \
freestation5 | \
hw550-3g | \
+ hg255d | \
mofi3500-3gn | \
mpr-a2 | \
mzk-w300nh2 | \