aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-10-28 00:15:29 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-03 00:29:12 +0100
commit194612997bd3f6430f76722a75f754b751561bc2 (patch)
treefb0325830f22dc207fa4001e6eab79d246ba3569 /target
parent19724e28c81e3ff642f09c49f612cd147c54a697 (diff)
downloadupstream-194612997bd3f6430f76722a75f754b751561bc2.tar.gz
upstream-194612997bd3f6430f76722a75f754b751561bc2.tar.bz2
upstream-194612997bd3f6430f76722a75f754b751561bc2.zip
ath79: use nand_do_upgrade by default for nand subtarget
On nand subtarget, the default upgrade mechanism should be nand_do_upgrade. This patch changes platform_do_upgrade() accordingly. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/nand/base-files/lib/upgrade/platform.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/ath79/nand/base-files/lib/upgrade/platform.sh b/target/linux/ath79/nand/base-files/lib/upgrade/platform.sh
index 1b1ae0391e..3956d5d73f 100644
--- a/target/linux/ath79/nand/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ath79/nand/base-files/lib/upgrade/platform.sh
@@ -13,13 +13,11 @@ platform_do_upgrade() {
local board=$(board_name)
case "$board" in
- aerohive,hiveap-121|\
- netgear,wndr4300|\
- zyxel,nbg6716)
- nand_do_upgrade "$1"
+ glinet,gl-ar300m-nand)
+ default_do_upgrade "$1"
;;
*)
- default_do_upgrade "$1"
+ nand_do_upgrade "$1"
;;
esac
}