ar71xx: add support for RB LHG 5nD
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 576ff6c06ccbc018a158900047b1da8d0bc2d997..364a32f76c7832db9f1d6dd2fd1bd58103ee6d92 100755 (executable)
@@ -204,6 +204,7 @@ platform_check_image() {
        airgateway|\
        airrouter|\
        ap132|\
+       ap531b0|\
        ap90q|\
        archer-c59-v1|\
        archer-c60-v1|\
@@ -637,6 +638,7 @@ platform_check_image() {
        rb-750up-r2|\
        rb-941-2nd|\
        rb-951ui-2nd|\
+       rb-lhg-5nd|\
        rb-mapl-2nd)
                return 0
                ;;
@@ -688,6 +690,7 @@ platform_pre_upgrade() {
        rb-750up-r2|\
        rb-941-2nd|\
        rb-951ui-2nd|\
+       rb-lhg-5nd|\
        rb-mapl-2nd)
                # erase firmware if booted from initramfs
                [ -z "$(rootfs_type)" ] && mtd erase firmware