Commit 19461299 authored by Adrian Schmutzler's avatar Adrian Schmutzler

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: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
parent 19724e28
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment