John Crispin 57c8708d64 lantiq: add platform_pre_upgrade for sysupgrade
As explained in recent sysupgrade/nand.sh commits, current NAND
sysupgrade is a bit misleading because of nand_do_platform_check
behavior. It leaves a special mark in /tmp/sysupgrade-nand-path
triggering some diffent code path in nand_upgrade_stage1.

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.

Please note that because of current nand_upgrade_stage1 implementation
this patch doesn't change any behaior yet. It only prepares lantiq
target for changing nand_do_platform_check (it will be possible after
preparing all other targets as well).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46939
2015-09-15 06:13:07 +00:00
..
2015-09-02 16:22:44 +00:00
2015-05-27 14:57:38 +00:00
2015-09-02 10:18:15 +00:00
2015-09-02 10:18:15 +00:00
2015-07-22 12:51:11 +00:00
2015-05-21 19:32:46 +00:00
2015-08-14 13:06:33 +00:00
2015-08-05 13:55:14 +00:00
2015-05-29 11:28:20 +00:00
2015-08-23 18:06:11 +00:00
2015-04-12 20:48:13 +00:00
2015-05-21 19:32:46 +00:00
2015-03-28 13:20:52 +00:00