summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-10 17:57:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-10 17:57:51 +0000
commitb680f088ba6f7e5982143db351d1f817bffbf86d (patch)
treec41566c7862f25cccb01d10f66a3fb4c756235b1 /target/linux/ar71xx/base-files/lib
parent5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a (diff)
downloadmtk-20170518-b680f088ba6f7e5982143db351d1f817bffbf86d.zip
mtk-20170518-b680f088ba6f7e5982143db351d1f817bffbf86d.tar.gz
mtk-20170518-b680f088ba6f7e5982143db351d1f817bffbf86d.tar.bz2
ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz SVN-Revision: 24440
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.sh4
2 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ae50a23..ad173e8 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -31,6 +31,9 @@ ar71xx_board_name() {
*EAP7660D)
name="eap7660d"
;;
+ *JA76PF)
+ name="ja76pf"
+ ;;
*"Bullet M")
name="bullet-m"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 1cbde8b..1f6c62d 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -103,7 +103,7 @@ platform_check_image() {
}
return 0
;;
- routerstation | routerstation-pro | ls-sr71 | pb42 | pb44 | eap7660d )
+ routerstation | routerstation-pro | ls-sr71 | pb42 | pb44 | eap7660d | ja76pf )
[ "$magic" != "4349" ] && {
echo "Invalid image. Use *-sysupgrade.bin files on this board"
return 1
@@ -130,7 +130,7 @@ platform_do_upgrade() {
local board=$(ar71xx_board_name)
case "$board" in
- routerstation | routerstation-pro | ls-sr71 | eap7660d )
+ routerstation | routerstation-pro | ls-sr71 | eap7660d | ja76pf )
platform_do_upgrade_combined "$ARGV"
;;
*)