vboot: Split partition and vblock verification from LoadKernel()
LoadKernel() was a big function which did everything from looping over
partitions on a drive to loading the data within them to calling the
low-level verification functions on that data. Split it apart into more
manageable chunks. This also reduces indentation of the inner parts of
the code, whic increases readability.
No outwardly-visible functionality changes.
TEST=make runtests; emerge-kevin coreboot depthcharge
Signed-off-by: Randall Spangler <email@example.com>
Reviewed-by: Daisuke Nojiri <firstname.lastname@example.org>
7 files changed