aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-19 10:16:36 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-19 10:16:36 +0000
commitd1e706e8b7dc148eba9d4f0e9a4af24930f1d083 (patch)
treea4a3723808695c1f0c2182204861d60fbd7c4b95 /target/linux/ipq806x/base-files/lib
parenta988dbf082e3bfef71ff136d81b3311929ffe97f (diff)
downloadmaster-187ad058-d1e706e8b7dc148eba9d4f0e9a4af24930f1d083.tar.gz
master-187ad058-d1e706e8b7dc148eba9d4f0e9a4af24930f1d083.tar.bz2
master-187ad058-d1e706e8b7dc148eba9d4f0e9a4af24930f1d083.zip
ipq806x: Add support for Netgear D7800
Signed-off-by: Tathagata Das <tathagata@alumnux.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48360 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ipq806x/base-files/lib')
-rw-r--r--target/linux/ipq806x/base-files/lib/ipq806x.sh3
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/lib/ipq806x.sh b/target/linux/ipq806x/base-files/lib/ipq806x.sh
index 5b27bde758..db227087f4 100644
--- a/target/linux/ipq806x/base-files/lib/ipq806x.sh
+++ b/target/linux/ipq806x/base-files/lib/ipq806x.sh
@@ -17,6 +17,9 @@ ipq806x_board_detect() {
*"AP148")
name="ap148"
;;
+ *"D7800")
+ name="d7800"
+ ;;
*"DB149")
name="db149"
;;
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index 7fcf246020..542b5cecde 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -7,6 +7,7 @@ platform_check_image() {
case "$board" in
ap148 |\
+ d7800 |\
r7500)
nand_do_platform_check $board $1
return $?;
@@ -21,6 +22,7 @@ platform_pre_upgrade() {
case "$board" in
ap148 |\
+ d7800 |\
r7500)
nand_do_upgrade "$1"
;;