mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
vboot: Move IsEntryUnused to gpt_misc
Over in depthcharge, IsEntryUnused will be useful for presenting the partition table to the kernel. This patch moves that function to gpt_misc.[ch] for export to depthcharge. TEST=Booted a kernel on NAND with all this compiled in TEST=make runtests passed BRANCH=none BUG=none Signed-off-by: Dan Ehrenberg <dehrenberg@google.com> Change-Id: I56445d1a420fec4d8385ddffc5469b7d77eab576 Reviewed-on: https://chromium-review.googlesource.com/231455 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Commit-Queue: Daniel Ehrenberg <dehrenberg@chromium.org> Tested-by: Daniel Ehrenberg <dehrenberg@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
b3d38f5c62
commit
32a999d2c0
@@ -148,11 +148,6 @@ void SetEntrySuccessful(GptEntry *e, int successful);
|
||||
void SetEntryPriority(GptEntry *e, int priority);
|
||||
void SetEntryTries(GptEntry *e, int tries);
|
||||
|
||||
/**
|
||||
* Return 1 if the entry is unused, 0 if it is used.
|
||||
*/
|
||||
int IsUnusedEntry(const GptEntry *e);
|
||||
|
||||
/**
|
||||
* Return 1 if the entry is a Chrome OS kernel partition, else 0.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user