summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-02 16:30:52 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-02 16:30:52 +0000
commitac4b63a18bf6f3a384be304c338b7935b98e62cd (patch)
treeb7a640163c49158dbc1282ddd3f814ce16a82eb5 /target/linux/ar71xx/base-files/lib/upgrade/platform.sh
parentacf09aa0a8a21e718dae2da2a2429309e8d0ed4d (diff)
downloadmaster-31e0f0ae-ac4b63a18bf6f3a384be304c338b7935b98e62cd.tar.gz
master-31e0f0ae-ac4b63a18bf6f3a384be304c338b7935b98e62cd.tar.bz2
master-31e0f0ae-ac4b63a18bf6f3a384be304c338b7935b98e62cd.zip
ar71xx: create firmware images for the AP81/PB42/PB44 boards
SVN-Revision: 19011
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index e320f30ea9..65ea22312b 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
- ap83 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m)
+ ap81 | ap83 | 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
@@ -96,7 +96,7 @@ platform_check_image() {
}
return 0
;;
- routerstation | routerstation-pro | ls-sr71)
+ routerstation | routerstation-pro | ls-sr71 | pb42 | pb44)
[ "$magic" != "4349" ] && {
echo "Invalid image. Use *-sysupgrade.bin files on this board"
return 1