From 823242185b56ea518568296f1a5834f736f12076 Mon Sep 17 00:00:00 2001 From: Pavel Kubelun Date: Tue, 21 Jun 2016 11:55:00 +0200 Subject: ipq806x: add initial support for Netgear R7800 Signed-off-by: Pavel Kubelun --- target/linux/ipq806x/base-files/lib/ipq806x.sh | 3 +++ target/linux/ipq806x/base-files/lib/upgrade/platform.sh | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'target/linux/ipq806x/base-files/lib') 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) -- cgit v1.2.3