summaryrefslogtreecommitdiff
path: root/host/include/cgpt_params.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/cgpt_params.h')
-rw-r--r--host/include/cgpt_params.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/host/include/cgpt_params.h b/host/include/cgpt_params.h
index e7ac7327..abbfa142 100644
--- a/host/include/cgpt_params.h
+++ b/host/include/cgpt_params.h
@@ -98,10 +98,16 @@ typedef struct CgptFindParams {
int match_partnum; /* 1-based; 0 means no match */
} CgptFindParams;
+enum {
+ CGPT_LEGACY_MODE_LEGACY = 0,
+ CGPT_LEGACY_MODE_EFIPART,
+ CGPT_LEGACY_MODE_IGNORE_PRIMARY,
+};
+
typedef struct CgptLegacyParams {
char *drive_name;
uint64_t drive_size;
- int efipart;
+ int mode;
} CgptLegacyParams;
#endif // VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_