Commit fcadbf1d authored by Lonnie Liu's avatar Lonnie Liu
Browse files

Support (boot) partition preloading.

Add a get_preloaded_partition() function in AvbOps.  It provides an
alternative way to read a full parition (for checking its hash) without
performing a full memory copy. This also makes it possible to directly
boot the preloaded partition, rather than having to relocate the
loaded boot partition after avb_slot_verify().

TEST=Unit tests.
BUG=67854557

Change-Id: I062343dc68b6f2f48745a58ce04f0abca5e2e7e9
parent 3b2cfe8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment