ramips: mt7621: add support for ZyXEL WSM20
[openwrt/staging/wigyori.git] / target / linux / ramips / mt7621 / base-files / lib / upgrade / platform.sh
index bfdbd6a09d7183b27cd59f6937579544d7684678..ce5fdd61ed0578e74d924a88366344f8f01b7c99 100755 (executable)
@@ -155,6 +155,10 @@ platform_do_upgrade() {
                CI_KERNPART="Kernel"
                nand_do_upgrade "$1"
                ;;
+       zyxel,wsm20)
+               zyxel_mstc_upgrade_prepare
+               nand_do_upgrade "$1"
+               ;;
        *)
                default_do_upgrade "$1"
                ;;