ramips: sysupgrade: move nand_do_upgrade call to platform_do_upgrade
All targets with NAND support should gradually move their nand_do_upgrade calls from platform_pre_upgrade to platform_do_upgrade. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
parent
a5428244d9
commit
9ab81e63cd
1 changed files with 1 additions and 8 deletions
|
@ -280,7 +280,7 @@ platform_nand_pre_upgrade() {
|
|||
esac
|
||||
}
|
||||
|
||||
platform_pre_upgrade() {
|
||||
platform_do_upgrade() {
|
||||
local board=$(ramips_board_name)
|
||||
|
||||
case "$board" in
|
||||
|
@ -289,13 +289,6 @@ platform_pre_upgrade() {
|
|||
ubnt-erx)
|
||||
nand_do_upgrade "$ARGV"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
platform_do_upgrade() {
|
||||
local board=$(ramips_board_name)
|
||||
|
||||
case "$board" in
|
||||
*)
|
||||
default_do_upgrade "$ARGV"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue