projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
apm821xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
index d5b0986dd5ab43e93bee13d185eefeb2c910f1a2..5559767a266e8573df570ecbc3c07772f0997a2a 100755
(executable)
--- 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