procd: various cleanups to /lib/upgrade/nand.sh
[openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 9315ac0..57803cc 100755 (executable)
@@ -153,6 +153,7 @@ platform_check_image() {
        dragino2 | \
        ew-dorin | \
        ew-dorin-router | \
+       hiwifi-hc6361 | \
        hornet-ub-x2 | \
        mzk-w04nu | \
        mzk-w300nh | \
@@ -293,6 +294,7 @@ platform_check_image() {
                return 0
                ;;
        wndr3700 | \
+       wnr2000-v3 | \
        wnr612-v2)
                local hw_magic
 
@@ -303,6 +305,10 @@ platform_check_image() {
                }
                return 0
                ;;
+       wndr4300 )
+               nand_do_platform_check $board $1
+               return $?;
+               ;;
        routerstation | \
        routerstation-pro | \
        ls-sr71 | \