mediatek: mt7622: add a second u-boot for redmi-ax6s
[openwrt/staging/stintel.git] / target / linux / mediatek / mt7622 / base-files / lib / upgrade / platform.sh
index 236e8fdfb05a808dd817c93ad05fc8921ad456ac..59375ccd9b99de498a86fb89fb7730a665ce8faa 100755 (executable)
@@ -10,7 +10,8 @@ platform_do_upgrade() {
        linksys,e8450-ubi|\
        ubnt,unifi-6-lr-v1-ubootmod|\
        ubnt,unifi-6-lr-v2-ubootmod|\
-       ubnt,unifi-6-lr-v3-ubootmod)
+       ubnt,unifi-6-lr-v3-ubootmod|\
+       xiaomi,redmi-router-ax6s)
                [ -e /dev/fit0 ] && fitblk /dev/fit0
                [ -e /dev/fitrw ] && fitblk /dev/fitrw
                bootdev="$(fitblk_get_bootdev)"
@@ -48,8 +49,7 @@ platform_do_upgrade() {
        elecom,wrc-x3200gst3|\
        mediatek,mt7622-rfb1-ubi|\
        netgear,wax206|\
-       totolink,a8000ru|\
-       xiaomi,redmi-router-ax6s)
+       totolink,a8000ru)
                nand_do_upgrade "$1"
                ;;
        linksys,e8450)
@@ -84,8 +84,7 @@ platform_check_image() {
        elecom,wrc-x3200gst3|\
        mediatek,mt7622-rfb1-ubi|\
        netgear,wax206|\
-       totolink,a8000ru|\
-       xiaomi,redmi-router-ax6s)
+       totolink,a8000ru)
                nand_do_platform_check "$board" "$1"
                return $?
                ;;