fastboot: clean hibernate image when update uboot/kernel/rootfs partition
authorxianbing Zhu <xianbing.zhu@linux.alibaba.com>
Thu, 28 Mar 2024 08:50:45 +0000 (16:50 +0800)
committerHan Gao <rabenda.cn@gmail.com>
Wed, 29 May 2024 08:21:44 +0000 (16:21 +0800)
commitd2c65288904a4b5727036215a5b53e6b747f46db
tree6caaa223b2ef62153fa65a0d44cd499c82b4b9b8
parentcefbf1d0eae1bd6b3f2f1b7f9a7522052257aa9e
fastboot: clean hibernate image when update uboot/kernel/rootfs partition

When update version,this commit erase normal hibernate image
and fastresume image.Before this,only fastresume image is erased.
This may caused issue when hibernate image saved before
update version.

Update one of uboot/kernel/rootfs will clean hibernate image.

Signed-off-by: xianbing Zhu <xianbing.zhu@linux.alibaba.com>
Change-Id: I92cd9ccda83f8d1e215e0f8d75e7cf34380a6201
drivers/fastboot/fb_command.c