ramips: fix sysupgrade for asiarf awm003
authorJohn Crispin <john@openwrt.org>
Sat, 26 Jul 2014 20:35:46 +0000 (20:35 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 26 Jul 2014 20:35:46 +0000 (20:35 +0000)
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

target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh

index f9ab1e33bafeea4c1be1f70c42cf964e92138262..ff3c2a5e5deb04760327efbfb2333759fccb8812 100755 (executable)
@@ -55,6 +55,9 @@ ramips_board_detect() {
        *"AsiaRF AWM002 EVB")
                name="awm002-evb"
                ;;
+       *"AsiaRF AWM003 EVB")
+               name="awm003-evb"
+               ;;
        *"AsiaRF AWAPN2403")
                name="awapn2403"
                ;;
index 8ada58b296c31d83fad8a8bc24e6514b06740bf2..1ab3ab510f3acba2f60e32358231f67f1d61c6d1 100755 (executable)
@@ -26,6 +26,7 @@ platform_check_image() {
        ar725w | \
        asl26555 | \
        awm002-evb | \
+       awm003-evb | \
        awapn2403 | \
        bc2 | \
        broadway | \