u-boot/lib/avb/libavb_ab
Ji Luo 3a62d022b9 MA-14118 Avoid slot switch if retry count exhaust in spl
The A/B slot is chosen at spl stage and should be kept up to
u-boot stage. Decrease slot retry count will cause slot switch
when the slot only has one chance left.
Set the 'bootloader_verified' flag when current slot is running the last
chance at spl, u-boot will treat the slot as bootable if the
'reserved' flag is set even the retry count exhausted.

Test: Slot not switch during 7 times reboot try.

Change-Id: I7ae84b2ce683300a1bb332606cd58e48483214ea
Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-02-22 10:13:28 +08:00
..
Makefile
avb_ab_flow.c MA-14118 Avoid slot switch if retry count exhaust in spl 2019-02-22 10:13:28 +08:00
avb_ab_flow.h MA-14118 Avoid slot switch if retry count exhaust in spl 2019-02-22 10:13:28 +08:00
avb_ab_ops.h
libavb_ab.h