7f8733a673c0758d9d7f67f7126bda10b7dfa56c
[openwrt.git] / target / linux / imx6 / base-files / lib / upgrade / platform.sh
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4
5 . /lib/functions/imx6.sh
6
7 platform_check_image() {
8         local board=$(imx6_board_name)
9
10         case "$board" in
11         gw54xx)
12                 nand_do_platform_check $board $1
13                 return $?;
14                 ;;
15         esac
16
17         echo "Sysupgrade is not yet supported on $board."
18         return 1
19 }