summaryrefslogtreecommitdiff
path: root/firmware/lib/cgptlib/include/cgptlib_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/cgptlib/include/cgptlib_internal.h')
-rw-r--r--firmware/lib/cgptlib/include/cgptlib_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/lib/cgptlib/include/cgptlib_internal.h b/firmware/lib/cgptlib/include/cgptlib_internal.h
index 66ceef13..ccd719c9 100644
--- a/firmware/lib/cgptlib/include/cgptlib_internal.h
+++ b/firmware/lib/cgptlib/include/cgptlib_internal.h
@@ -61,8 +61,12 @@
/* alias name of index in internal array for primary and secondary header and
* entries. */
enum {
+ /* constants for index */
PRIMARY = 0,
SECONDARY = 1,
+ ANY_VALID = 9999, /* accept any between primary and secondary */
+
+ /* constants for bit mask */
MASK_NONE = 0,
MASK_PRIMARY = 1,
MASK_SECONDARY = 2,