mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 18:56:37 +00:00
imx6: add sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41277
This commit is contained in:
parent
1a60486acb
commit
cf80a59dcc
19
target/linux/imx6/base-files/lib/upgrade/platform.sh
Executable file
19
target/linux/imx6/base-files/lib/upgrade/platform.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user