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 <firstname.lastname@example.org>
Reviewed-by: Daisuke Nojiri <email@example.com>
7 files changed