Index: firmware/lib/cgptlib/include/cgptlib_internal.h |
diff --git a/firmware/lib/cgptlib/include/cgptlib_internal.h b/firmware/lib/cgptlib/include/cgptlib_internal.h |
index 66ceef13884110a21837aae19c1ab88bbe0b9144..ccd719c98f13c2109ce8fb7c6f4bb49b8b37d4f1 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, |