ipq40xx: add Cisco Meraki MR33 Support
[openwrt/staging/hauke.git] / target / linux / ipq40xx / base-files / lib / upgrade / platform.sh
index 261c468813a7d7107500d139c6cd16cd8608d314..52aa2321e3e2d4988771c6008d5c1fa0823a653b 100644 (file)
@@ -40,6 +40,10 @@ platform_do_upgrade() {
                PART_NAME="inactive"
                platform_do_upgrade_openmesh "$ARGV"
                ;;
+       meraki,mr33)
+               CI_KERNPART="part.safe"
+               nand_do_upgrade "$1"
+               ;;
        *)
                default_do_upgrade "$ARGV"
                ;;
@@ -52,6 +56,9 @@ platform_nand_pre_upgrade() {
                CI_UBIPART="UBI_DEV"
                CI_KERNPART="linux"
                ;;
+       meraki,mr33)
+               CI_KERNPART="part.safe"
+               ;;
        esac
 }