apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720
[openwrt/openwrt.git] / target / linux / apm821xx / base-files / lib / upgrade / platform.sh
index d5b0986dd5ab43e93bee13d185eefeb2c910f1a2..5559767a266e8573df570ecbc3c07772f0997a2a 100755 (executable)
@@ -21,6 +21,11 @@ platform_check_image() {
                return $?;
                ;;
 
+       wndr4700)
+               nand_do_platform_check $board "$1"
+               return $?;
+               ;;
+
        *)
                ;;
        esac
@@ -37,6 +42,10 @@ platform_pre_upgrade() {
                merakinand_do_upgrade "$1"
                ;;
 
+       wndr4700)
+               nand_do_upgrade "$1"
+               ;;
+
        *)
                ;;
        esac