From cf80a59dcc453e72b81825a240152daa9de615a1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 19 Jun 2014 14:13:38 +0000 Subject: [PATCH] imx6: add sysupgrade support Signed-off-by: John Crispin SVN-Revision: 41277 --- .../imx6/base-files/lib/upgrade/platform.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 target/linux/imx6/base-files/lib/upgrade/platform.sh diff --git a/target/linux/imx6/base-files/lib/upgrade/platform.sh b/target/linux/imx6/base-files/lib/upgrade/platform.sh new file mode 100755 index 000000000000..7f8733a673c0 --- /dev/null +++ b/target/linux/imx6/base-files/lib/upgrade/platform.sh @@ -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 +} -- 2.30.2