Skip to content
Snippets Groups Projects
Commit b3375205 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

ar71xx: add platform_pre_upgrade for sysupgrade


Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45667
parent 4c5f965c
No related branches found
No related tags found
No related merge requests found
......@@ -448,6 +448,19 @@ platform_check_image() {
return 1
}
platform_pre_upgrade() {
local board=$(ar71xx_board_name)
case "$board" in
nbg6716 | \
r6100 | \
wndr3700v4 | \
wndr4300 )
nand_do_upgrade "$1"
;;
esac
}
platform_do_upgrade() {
local board=$(ar71xx_board_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment