mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-27 19:53:42 +00:00
firmware: Remove LoadKernelParams from APIs
This cleans up the vboot functions which handle display so they don't need to pass it around. Eventually, it'll be absorbed by vb2_context. BUG=chromium:611535 BRANCH=none TEST=make runtests; build_packages --board=reef chromeos-firmware; boot reef Change-Id: I58169dfd37abe657f9b9aa339cc72ffa398329e0 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/414288 Reviewed-by: Shelley Chen <shchen@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
284bf5549a
commit
ad7a75531e
@@ -17,10 +17,6 @@ struct vb2_context;
|
||||
/* Interface provided by verified boot library to BDS */
|
||||
|
||||
/* Boot flags for LoadKernel().boot_flags */
|
||||
/* Developer switch is on */
|
||||
#define BOOT_FLAG_DEVELOPER (0x01ULL)
|
||||
/* In recovery mode */
|
||||
#define BOOT_FLAG_RECOVERY (0x02ULL)
|
||||
/* GPT is external */
|
||||
#define BOOT_FLAG_EXTERNAL_GPT (0x04ULL)
|
||||
|
||||
@@ -28,10 +24,6 @@ struct RollbackSpaceFwmp;
|
||||
|
||||
typedef struct LoadKernelParams {
|
||||
/* Inputs to LoadKernel() */
|
||||
/* Pointer to GBB data */
|
||||
void *gbb_data;
|
||||
/* Size of GBB data in bytes */
|
||||
uint64_t gbb_size;
|
||||
/* Disk handle for current device */
|
||||
VbExDiskHandle_t disk_handle;
|
||||
/* Bytes per lba sector on current device */
|
||||
|
||||
Reference in New Issue
Block a user