aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib
diff options
context:
space:
mode:
authorPavel Kubelun <be.dissent@gmail.com>2016-06-21 11:55:00 +0200
committerJohn Crispin <john@phrozen.org>2016-06-22 19:32:06 +0200
commit823242185b56ea518568296f1a5834f736f12076 (patch)
tree098f7b028cc2733e1e4a5a3951b0a3e427935364 /target/linux/ipq806x/base-files/lib
parent9bf3ddcb2ae9cf48fba1e392ff57727f22a036bd (diff)
downloadupstream-823242185b56ea518568296f1a5834f736f12076.tar.gz
upstream-823242185b56ea518568296f1a5834f736f12076.tar.bz2
upstream-823242185b56ea518568296f1a5834f736f12076.zip
ipq806x: add initial support for Netgear R7800
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
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.sh6
2 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/lib/ipq806x.sh b/target/linux/ipq806x/base-files/lib/ipq806x.sh
index 8157e6afac..adac916f6b 100644
--- a/target/linux/ipq806x/base-files/lib/ipq806x.sh
+++ b/target/linux/ipq806x/base-files/lib/ipq806x.sh
@@ -32,6 +32,9 @@ ipq806x_board_detect() {
*"Linksys EA8500"*)
name="ea8500"
;;
+ *"R7800")
+ name="r7800"
+ ;;
esac
[ -z "$name" ] && name="unknown"
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index 2b6f61d7be..cfd7cd7ed6 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -9,7 +9,8 @@ platform_check_image() {
ap148 |\
d7800 |\
ea8500 |\
- r7500)
+ r7500 |\
+ r7800)
nand_do_platform_check $board $1
return $?;
;;
@@ -32,7 +33,8 @@ platform_pre_upgrade() {
case "$board" in
ap148 |\
d7800 |\
- r7500)
+ r7500 |\
+ r7800)
nand_do_upgrade "$1"
;;
ea8500)