summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:24 +0000
commit3f986df05f5c07dd705ed085b13d7e19c0a72aa2 (patch)
tree79baad2baf0a9405be69d969de4d2119ed4619d5 /target/linux/ramips/base-files/lib
parent857c1028ac54332f26ffcc257c926123d4ce32f1 (diff)
downloadmtk-20170518-3f986df05f5c07dd705ed085b13d7e19c0a72aa2.zip
mtk-20170518-3f986df05f5c07dd705ed085b13d7e19c0a72aa2.tar.gz
mtk-20170518-3f986df05f5c07dd705ed085b13d7e19c0a72aa2.tar.bz2
ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh6
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index dc03b47..f34454b 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -16,6 +16,12 @@ ramips_board_name() {
*"DIR-300 B1")
name="dir-300-b1"
;;
+ *"DIR-600 B1")
+ name="dir-600-b1"
+ ;;
+ *"DIR-600 B2")
+ name="dir-600-b2"
+ ;;
*"F5D8235 v2")
name="f5d8235-v2"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index b701938..0dd3b7b 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -14,7 +14,7 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
- dir-300-b1 | fonera20n | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
+ dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1