ramips: add support for I-O DATA WN-DX1200GR
[openwrt/openwrt.git] / target / linux / ramips / mt7621 / base-files / lib / upgrade / platform.sh
index 5bb0386253b4964d9244f95fb7af0b5ebd59ee9c..c9152c5cf4d663fb922d74c8081e982662b92461 100755 (executable)
@@ -71,7 +71,11 @@ platform_do_upgrade() {
        iodata,wn-ax1167gr2|\
        iodata,wn-ax2033gr|\
        iodata,wn-dx1167r)
-               iodata_mstc_upgrade_prepare
+               iodata_mstc_upgrade_prepare "0xfe75"
+               nand_do_upgrade "$1"
+               ;;
+       iodata,wn-dx1200gr)
+               iodata_mstc_upgrade_prepare "0x1fe75"
                nand_do_upgrade "$1"
                ;;
        ubnt,edgerouter-x|\