bmips: switch to standard nand_do_upgrade
[openwrt/staging/jow.git] / target / linux / bmips / bcm63268 / base-files / lib / upgrade / platform.sh
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 PART_NAME=firmware
4 REQUIRE_IMAGE_METADATA=1
5
6 platform_check_image() {
7 return 0
8 }
9
10 platform_do_upgrade() {
11 case "$(board_name)" in
12 comtrend,vr-3032u)
13 CI_JFFS2_CLEAN_MARKERS=1
14 nand_do_upgrade "$1"
15 ;;
16 sercomm,h500-s-lowi |\
17 sercomm,h500-s-vfes |\
18 sercomm,shg2500)
19 nand_do_upgrade "$1"
20 ;;
21 *)
22 default_do_upgrade "$1"
23 ;;
24 esac
25 }