mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-10 23:12:48 +00:00
20 lines
272 B
Bash
20 lines
272 B
Bash
|
#
|
||
|
# Copyright (C) 2010 OpenWrt.org
|
||
|
#
|
||
|
|
||
|
. /lib/functions/imx6.sh
|
||
|
|
||
|
platform_check_image() {
|
||
|
local board=$(imx6_board_name)
|
||
|
|
||
|
case "$board" in
|
||
|
gw54xx)
|
||
|
nand_do_platform_check $board $1
|
||
|
return $?;
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
echo "Sysupgrade is not yet supported on $board."
|
||
|
return 1
|
||
|
}
|