ramips: add support for Netgear R6220
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 3245e2c1c806e24c9404dec1ea7a421fcfce4721..7b12d97a00b34bb573c74e7991c9eb304ec008ef 100755 (executable)
@@ -229,7 +229,8 @@ platform_check_image() {
                }
                return 0
                ;;
-       hc5962)
+       hc5962|\
+       r6220)
                # these boards use metadata images
                return 0
                ;;
@@ -266,6 +267,7 @@ platform_pre_upgrade() {
 
        case "$board" in
        hc5962|\
+       r6220|\
        ubnt-erx)
                nand_do_upgrade "$ARGV"
                ;;