Signed-off-by: Andrew 'Necromant' Andrianov <[email protected]>
---
 target/linux/ar71xx/base-files/lib/ar71xx.sh       |    3 +++
 .../ar71xx/base-files/lib/upgrade/platform.sh      |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh 
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 4d21caf..95a5085 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -396,6 +396,9 @@ ar71xx_board_detect() {
        *EmbWir-Dorin)
                name="ew-dorin"
                ;;
+       *"Mercury MW150R")
+                name="mercury-mw150r"
+               ;;
        esac
 
        case "$machine" in
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh 
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 5e5a54f..db6ff92 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -146,7 +146,8 @@ platform_check_image() {
        tl-wr941nd | \
        tl-wr1041n-v2 | \
        tl-wr1043nd | \
-       tl-wr2543n)
+       tl-wr2543n | \
+       mercury-mw150r)
                [ "$magic" != "0100" ] && {
                        echo "Invalid image type."
                        return 1
-- 
1.7.6

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to