aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-11 08:02:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-11 08:02:10 +0000
commit58301cdeb8cb81acb213726407f0b1da20ad466f (patch)
tree4a7a33bfb4ef7952ba7e9a5134085f217e4dce57 /target/linux/ar71xx/base-files/lib
parenta0f378097ed829d3fb71d6f9c0e1ebe8a795395d (diff)
downloadupstream-58301cdeb8cb81acb213726407f0b1da20ad466f.tar.gz
upstream-58301cdeb8cb81acb213726407f0b1da20ad466f.tar.bz2
upstream-58301cdeb8cb81acb213726407f0b1da20ad466f.zip
ar71xx: add support for the D-Link DIR-600 rev. A1 board
SVN-Revision: 19100
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 42f41e753e..327107b0dd 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -19,6 +19,9 @@ ar71xx_board_name() {
*AW-NR580)
name="aw-nr580"
;;
+ *"DIR-600 rev. A1")
+ name="dir-600-a1"
+ ;;
*"DIR-825 rev. B1")
name="dir-825-b1"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 65ea22312b..13a154441b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -68,7 +68,7 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
- ap81 | ap83 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m)
+ ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1