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>
This commit is contained in:
parent
19724e28c8
commit
194612997b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user