diff options
author | Ben Chan <benchan@chromium.org> | 2018-01-31 11:39:14 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-06 18:18:35 -0800 |
commit | a4a8c02ad5988bd4b6fd85f6e09e9e0e79d18feb (patch) | |
tree | a1cc5fb4923c3d5a990fb486debc7cb2fe261f04 /firmware/include/gpt.h | |
parent | 3585eb3d21da676db3d87e9e0490a0df92d597d2 (diff) | |
download | vboot-a4a8c02ad5988bd4b6fd85f6e09e9e0e79d18feb.tar.gz |
cgpt: add support for managing GPT platform required partition bit
Bit 0 in the GPT partition attributes is defined to indicate whether a
partition is required by the platform. This CL adds the support for
managing this bit to cgpt.
BUG=b:70807006
BRANCH=None
TEST=Run unit tests.
Change-Id: Iaf87c828438b3df6730de502ae420fcf4c61277b
Reviewed-on: https://chromium-review.googlesource.com/902196
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'firmware/include/gpt.h')
-rw-r--r-- | firmware/include/gpt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/gpt.h b/firmware/include/gpt.h index ae957cf7..45702372 100644 --- a/firmware/include/gpt.h +++ b/firmware/include/gpt.h @@ -108,7 +108,7 @@ typedef struct { uint64_t ending_lba; union { struct { - uint8_t system:1; + uint8_t required:1; uint8_t efi_ignore:1; uint8_t legacy_boot:1; uint8_t reserved1:5; |