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>
master
Adrian Schmutzler 2019-10-28 00:15:29 +01:00
parent 19724e28c8
commit 194612997b
1 changed files with 3 additions and 5 deletions

View File

@ -13,13 +13,11 @@ platform_do_upgrade() {
local board=$(board_name) local board=$(board_name)
case "$board" in case "$board" in
aerohive,hiveap-121|\ glinet,gl-ar300m-nand)
netgear,wndr4300|\ default_do_upgrade "$1"
zyxel,nbg6716)
nand_do_upgrade "$1"
;; ;;
*) *)
default_do_upgrade "$1" nand_do_upgrade "$1"
;; ;;
esac esac
} }