lantiq: switch to kernel 4.14
[openwrt/openwrt.git] / target / linux / lantiq / base-files / lib / upgrade / platform.sh
1 PART_NAME=firmware
2 REQUIRE_IMAGE_METADATA=1
3
4 platform_check_image() {
5 return 0
6 }
7
8 platform_do_upgrade() {
9 local board=$(board_name)
10
11 case "$board" in
12 bt,homehub-v2b|bt,homehub-v3a|bt,homehub-v5a|zyxel,p-2812hnu-f1|zyxel,p-2812hnu-f3)
13 nand_do_upgrade $1
14 ;;
15 *)
16 default_do_upgrade "$ARGV"
17 ;;
18 esac
19 }