mediatek: filogic: reorder alphabetically
[openwrt/staging/jow.git] / target / linux / mediatek / filogic / base-files / lib / upgrade / platform.sh
index b7b9d6599325614e6c629e8598927e54af0a70db..3c278d5faf2c45571e4cb91c67a035d2ebc14e73 100755 (executable)
@@ -102,16 +102,8 @@ platform_do_upgrade() {
                CI_ROOTPART="rootfs"
                emmc_do_upgrade "$1"
                ;;
-       mercusys,mr90x-v1)
-               CI_UBIPART="ubi0"
-               nand_do_upgrade "$1"
-               ;;
-       ubnt,unifi-6-plus)
-               CI_KERNPART="kernel0"
-               EMMC_ROOT_DEV="$(cmdline_get_var root)"
-               emmc_do_upgrade "$1"
-               ;;
        h3c,magic-nx30-pro|\
+       jcg,q30-pro|\
        mediatek,mt7981-rfb|\
        qihoo,360t7|\
        tplink,tl-xdr4288|\
@@ -122,12 +114,26 @@ platform_do_upgrade() {
                CI_KERNPART="fit"
                nand_do_upgrade "$1"
                ;;
+       mercusys,mr90x-v1)
+               CI_UBIPART="ubi0"
+               nand_do_upgrade "$1"
+               ;;
+       ubnt,unifi-6-plus)
+               CI_KERNPART="kernel0"
+               EMMC_ROOT_DEV="$(cmdline_get_var root)"
+               emmc_do_upgrade "$1"
+               ;;
        xiaomi,mi-router-wr30u-stock|\
        xiaomi,redmi-router-ax6000-stock)
                CI_KERN_UBIPART=ubi_kernel
                CI_ROOT_UBIPART=ubi
                nand_do_upgrade "$1"
                ;;
+        zyxel,ex5601-t0-ubootmod)
+               CI_KERNPART="fit"
+               CI_ROOTPART="ubi_rootfs"
+                nand_do_upgrade "$1"
+                ;;
        *)
                nand_do_upgrade "$1"
                ;;