ipq806x: add support for Netgear Nighthawk X4 R7500
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / lib / upgrade / platform.sh
1 . /lib/ipq806x.sh
2
3 PART_NAME=firmware
4
5 platform_check_image() {
6 local board=$(ipq806x_board_name)
7
8 case "$board" in
9 AP148 |\
10 r7500)
11 nand_do_platform_check $board $1
12 return $?;
13 ;;
14 *)
15 return 1;
16 esac
17 }
18
19 # use default for platform_do_upgrade()