kirkwood: fix sysupgrade for non-dockstar NAND devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
8f5cf323c4
commit
83d59453c0
1 changed files with 7 additions and 2 deletions
|
@ -14,7 +14,7 @@ platform_check_image() {
|
|||
}
|
||||
return 0
|
||||
;;
|
||||
"dockstar")
|
||||
*)
|
||||
nand_do_platform_check $board $1
|
||||
return $?
|
||||
;;
|
||||
|
@ -32,6 +32,9 @@ platform_do_upgrade() {
|
|||
"linksys-viper")
|
||||
platform_do_upgrade_linksys "$ARGV"
|
||||
;;
|
||||
*)
|
||||
default_do_upgrade "$@"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
@ -39,7 +42,9 @@ platform_pre_upgrade() {
|
|||
local board=$(kirkwood_board_name)
|
||||
|
||||
case "$board" in
|
||||
"dockstar")
|
||||
"linksys-audi"|\
|
||||
"linksys-viper") ;;
|
||||
*)
|
||||
nand_do_upgrade $1
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue