From 194612997bd3f6430f76722a75f754b751561bc2 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 28 Oct 2019 00:15:29 +0100 Subject: [PATCH] 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 --- .../linux/ath79/nand/base-files/lib/upgrade/platform.sh | 8 +++----- 1 file 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 } -- 2.30.2