aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2016-01-18 10:46:58 +0000
committerJonas Gorski <jogo@openwrt.org>2016-01-18 10:46:58 +0000
commit25ce154605ea822b588aeb41380c80e392e75fbe (patch)
treef2b99ce97e6c7dfe2553120326d97f231e0f2b8d /target/linux
parent74aca7d913f48d65b1c46f4772328a8459d52b44 (diff)
downloadupstream-25ce154605ea822b588aeb41380c80e392e75fbe.tar.gz
upstream-25ce154605ea822b588aeb41380c80e392e75fbe.tar.bz2
upstream-25ce154605ea822b588aeb41380c80e392e75fbe.zip
ipq806x: fix sysupgrade for AP148
AP148 uses lowercase name as boardname, so we need to use this in platform.sh as well. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 48304
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index c0e19a1287..7fcf246020 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -6,7 +6,7 @@ platform_check_image() {
local board=$(ipq806x_board_name)
case "$board" in
- AP148 |\
+ ap148 |\
r7500)
nand_do_platform_check $board $1
return $?;
@@ -20,7 +20,7 @@ platform_pre_upgrade() {
local board=$(ipq806x_board_name)
case "$board" in
- AP148 |\
+ ap148 |\
r7500)
nand_do_upgrade "$1"
;;