summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-26 20:35:46 +0000
committerJohn Crispin <john@openwrt.org>2014-07-26 20:35:46 +0000
commit08fb5fb326b3c39951f50472889ec7b66fd09e41 (patch)
tree310c1ac1d014a499700ecb9097d7b8b1d40bf6d6
parent76d7397bc227cf3807ce6793af04c8c48e547575 (diff)
downloadmtk-20170518-08fb5fb326b3c39951f50472889ec7b66fd09e41.zip
mtk-20170518-08fb5fb326b3c39951f50472889ec7b66fd09e41.tar.gz
mtk-20170518-08fb5fb326b3c39951f50472889ec7b66fd09e41.tar.bz2
ramips: fix sysupgrade for asiarf awm003
Since the earlier r41797 change, the board_name for awm003 has been miscalculated, and sysupgrade has been broken. This seems to fix it. Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 41837
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index f9ab1e3..ff3c2a5 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -55,6 +55,9 @@ ramips_board_detect() {
*"AsiaRF AWM002 EVB")
name="awm002-evb"
;;
+ *"AsiaRF AWM003 EVB")
+ name="awm003-evb"
+ ;;
*"AsiaRF AWAPN2403")
name="awapn2403"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 8ada58b..1ab3ab5 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -26,6 +26,7 @@ platform_check_image() {
ar725w | \
asl26555 | \
awm002-evb | \
+ awm003-evb | \
awapn2403 | \
bc2 | \
broadway | \