diff options
Diffstat (limited to 'target/linux/kirkwood/base-files/lib/upgrade/platform.sh')
-rw-r--r-- | target/linux/kirkwood/base-files/lib/upgrade/platform.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh index c33229a41b..be5f101673 100644 --- a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh +++ b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh @@ -14,6 +14,10 @@ platform_check_image() { } return 0 ;; + "dockstar") + nand_do_platform_check $board $1 + return $? + ;; esac echo "Sysupgrade is not yet supported on $board." @@ -30,3 +34,13 @@ platform_do_upgrade() { ;; esac } + +platform_pre_upgrade() { + local board=$(kirkwood_board_name) + + case "$board" in + "dockstar") + nand_do_upgrade $1 + ;; + esac +} |