aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-28 12:24:43 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-28 12:24:43 +0000
commit0ba42b1a9a9131dc0148adfc7171b74445aea6ca (patch)
tree9856df0690540ccfe6c718c73fe1e1cc344aa1a6
parent3297f615705b24bb80582bdb9fb6bac14d81cb48 (diff)
downloadopenwrt-0ba42b1a9a9131dc0148adfc7171b74445aea6ca.tar.gz
openwrt-0ba42b1a9a9131dc0148adfc7171b74445aea6ca.zip
AA: ar71xx: enable sysupgrade for the CAP4200AG board
Backport of r33960. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33981 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 f1d95f6f6..81535ce9b 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"