aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-19 10:16:36 +0000
committerJohn Crispin <john@openwrt.org>2016-01-19 10:16:36 +0000
commit78a6a9aec306f3fa53b3eaffb35a2344c26a43c7 (patch)
treea805043b0b401f1cab6d549b283d3a9822cb62e7 /target/linux/ipq806x/base-files/lib
parentf51f92d7e92633620e5300fe2e937c14c21c91bb (diff)
downloadupstream-78a6a9aec306f3fa53b3eaffb35a2344c26a43c7.tar.gz
upstream-78a6a9aec306f3fa53b3eaffb35a2344c26a43c7.tar.bz2
upstream-78a6a9aec306f3fa53b3eaffb35a2344c26a43c7.zip
ipq806x: Add support for Netgear D7800
Signed-off-by: Tathagata Das <tathagata@alumnux.com> SVN-Revision: 48360
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"
;;