diff options
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/lantiq/base-files/lib/upgrade/platform.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/upgrade/platform.sh b/target/linux/lantiq/base-files/lib/upgrade/platform.sh index f255e81799..d4ea6c3ec4 100755 --- a/target/linux/lantiq/base-files/lib/upgrade/platform.sh +++ b/target/linux/lantiq/base-files/lib/upgrade/platform.sh @@ -25,6 +25,16 @@ platform_check_image() { esac } +platform_pre_upgrade() { + local board=$(lantiq_board_name) + + case "$board" in + BTHOMEHUBV2B|BTHOMEHUBV3A|P2812HNUF* ) + nand_do_upgrade $1 + ;; + esac +} + # use default for platform_do_upgrade() disable_watchdog() { |