aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-05 10:41:48 +0000
committerJohn Crispin <john@openwrt.org>2013-08-05 10:41:48 +0000
commit553a46972830d8a0eff4265eed150da49f050634 (patch)
treea1b42e790c5a664bd36443ac16448d6eaaf2f8e4 /target/linux/ar71xx/base-files/lib
parent6743f2625b854cd45d253e289844524c99584777 (diff)
downloadupstream-553a46972830d8a0eff4265eed150da49f050634.tar.gz
upstream-553a46972830d8a0eff4265eed150da49f050634.tar.bz2
upstream-553a46972830d8a0eff4265eed150da49f050634.zip
ar71xx: add support for dir 505 a1
this patch is based on ... -> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37703
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 14fdfb1e8f..d64e4a0c32 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -243,6 +243,9 @@ ar71xx_board_detect() {
*"DB120 reference board")
name="db120"
;;
+ *"DIR-505 rev. A1")
+ name="dir-505-a1"
+ ;;
*"DIR-600 rev. A1")
name="dir-600-a1"
;;
@@ -396,6 +399,9 @@ ar71xx_board_detect() {
*TL-WR2543N*)
name="tl-wr2543n"
;;
+ *DIR-505-A1)
+ name="dir-505-a1"
+ ;;
*"DIR-615 rev. C1")
name="dir-615-c1"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 308b4f14b0..1b3273d19f 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -105,6 +105,7 @@ platform_check_image() {
ap81 | \
ap83 | \
ap132 | \
+ dir-505-a1 | \
dir-600-a1 | \
dir-615-c1 | \
dir-615-e4 | \