diff options
Diffstat (limited to 'target/linux/apm821xx/base-files/lib')
-rwxr-xr-x | target/linux/apm821xx/base-files/lib/apm821xx.sh | 4 | ||||
-rwxr-xr-x | target/linux/apm821xx/base-files/lib/upgrade/platform.sh | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/apm821xx/base-files/lib/apm821xx.sh b/target/linux/apm821xx/base-files/lib/apm821xx.sh index 98e88cff6e..78fe452184 100755 --- a/target/linux/apm821xx/base-files/lib/apm821xx.sh +++ b/target/linux/apm821xx/base-files/lib/apm821xx.sh @@ -18,6 +18,10 @@ apm821xx_board_detect() { name="mbl" ;; + *"Netgear WNDR4700/WNDR4720 Series") + name="wndr4700" + ;; + *) name="unknown" ;; diff --git a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh index d5b0986dd5..5559767a26 100755 --- a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh @@ -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 |