summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-27 08:55:42 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-27 08:55:42 +0000
commit3a86affcdd3daa258c9d94578857da9c124a1574 (patch)
treee1a42d9f90384a36536f5d77101378e4b86d4d4e
parent5a6a2e55b9d16ff38ab5b57174e851346bc18a64 (diff)
downloadmtk-20170518-3a86affcdd3daa258c9d94578857da9c124a1574.zip
mtk-20170518-3a86affcdd3daa258c9d94578857da9c124a1574.tar.gz
mtk-20170518-3a86affcdd3daa258c9d94578857da9c124a1574.tar.bz2
ar71xx: enable sysupgrade for the CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33960
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index f1d95f6..81535ce 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -78,7 +78,8 @@ platform_check_image() {
case "$board" in
all0315n | \
- all0258n )
+ all0258n | \
+ cap4200ag)
platform_check_image_allnet "$1" && return 0
return 1
;;
@@ -259,6 +260,9 @@ platform_do_upgrade() {
all0315n )
platform_do_upgrade_allnet "0x9f080000" "$ARGV"
;;
+ cap4200ag)
+ platform_do_upgrade_allnet "0xbf0a0000" "$ARGV"
+ ;;
dir-825-b1 |\
tew-673gru)
platform_do_upgrade_dir825b "$ARGV"