ramips: add support for I-O DATA WN-DEAX1800GR
[openwrt/staging/wigyori.git] / target / linux / ramips / mt7621 / base-files / lib / upgrade / platform.sh
index 85e97b4f839a0521315cc7ed438172a7c621ed72..203872394bda33f088c5b0b077520ec7db1144ef 100755 (executable)
@@ -129,6 +129,10 @@ platform_do_upgrade() {
                iodata_mstc_set_flag "bootnum" "persist" "0x4" "1,2" "1"
                nand_do_upgrade "$1"
                ;;
+       iodata,wn-deax1800gr)
+               iodata_mstc_set_flag "bootnum" "working" "0x4" "0,1" "0"
+               nand_do_upgrade "$1"
+               ;;
        iodata,wn-dx1200gr)
                iodata_mstc_set_flag "debugflag" "factory" "0x1fe75" "0,1" "1"
                iodata_mstc_set_flag "bootnum" "persist" "0x4" "1,2" "1"