aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-09-15 06:13:07 +0000
committerJohn Crispin <blogic@openwrt.org>2015-09-15 06:13:07 +0000
commitd18b9d963fd3a0c92eaed8914a126235ba649dba (patch)
tree522971a6eecfe3adbdc7c95a6b3efa4b256f57b1 /package/network
parentd38f61c8b4296673004824688e5e0ea246737eb9 (diff)
downloadmaster-187ad058-d18b9d963fd3a0c92eaed8914a126235ba649dba.tar.gz
master-187ad058-d18b9d963fd3a0c92eaed8914a126235ba649dba.tar.bz2
master-187ad058-d18b9d963fd3a0c92eaed8914a126235ba649dba.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46939 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
0 files changed, 0 insertions, 0 deletions