From: Rafał Miłecki Date: Tue, 15 Sep 2015 16:05:10 +0000 (+0000) Subject: ipq806x: add platform_pre_upgrade for sysupgrade X-Git-Tag: reboot~1994 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=ffcb2684376b1b793560fb029b66b4a64e40c2d7;hp=ffcb2684376b1b793560fb029b66b4a64e40c2d7;p=openwrt%2F.git ipq806x: add platform_pre_upgrade for sysupgrade We're in process of cleaning nand_do_platform_check. Currently is leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. This can be a bit confusing. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. This follows ar71xx, lantiq and partially bcm53xx. Signed-off-by: Rafał Miłecki SVN-Revision: 46945 ---