mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 10:14:55 +00:00
vboot: Remove vboot1 init and select-firmware APIs
And nuke all the underlying code that is unused once those APIs are gone. These APIs are not used by any project in ToT, having been superseded last year by the vboot2 APIs. No functional changes to live code, just lots of deletes. CQ-DEPEND=CL:347414 BUG=chromium:611535 BRANCH=none TEST=make runtests; build samus Change-Id: I05ac752d74d1343dd03600b1c5e6ed22822e2802 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/347257
This commit is contained in:
committed by
chrome-bot
parent
c61df529d0
commit
2afa87360d
@@ -364,36 +364,6 @@ typedef struct VbSelectAndLoadKernelParams {
|
||||
*/
|
||||
} VbSelectAndLoadKernelParams;
|
||||
|
||||
/**
|
||||
* Initialize the verified boot library.
|
||||
*
|
||||
* Returns VBERROR_SUCCESS if success, non-zero if error; on error,
|
||||
* caller should reboot.
|
||||
*/
|
||||
VbError_t VbInit(VbCommonParams *cparams, VbInitParams *iparams);
|
||||
|
||||
/**
|
||||
* Select the main firmware.
|
||||
*
|
||||
* Returns VBERROR_SUCCESS if success, non-zero if error; on error,
|
||||
* caller should reboot.
|
||||
*
|
||||
* NOTE: This is now called in all modes, including recovery. Previously,
|
||||
* LoadFirmware() was not called in recovery mode, which meant that
|
||||
* LoadKernel() needed to duplicate the TPM and VbSharedData initialization
|
||||
* code.
|
||||
*/
|
||||
VbError_t VbSelectFirmware(VbCommonParams *cparams,
|
||||
VbSelectFirmwareParams *fparams);
|
||||
|
||||
/**
|
||||
* Update the data hash for the current firmware image, extending it by [size]
|
||||
* bytes stored in [*data]. This function must only be called inside
|
||||
* VbExHashFirmwareBody(), which is in turn called by VbSelectFirmware().
|
||||
*/
|
||||
void VbUpdateFirmwareBodyHash(VbCommonParams *cparams,
|
||||
uint8_t *data, uint32_t size);
|
||||
|
||||
/**
|
||||
* Select and loads the kernel.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user