From: Adrian Schmutzler Date: Sun, 27 Oct 2019 23:15:29 +0000 (+0100) Subject: ath79: use nand_do_upgrade by default for nand subtarget X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=194612997bd3f6430f76722a75f754b751561bc2;p=openwrt%2Fstaging%2Fthess.git 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 --- 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 }