diff options
Diffstat (limited to 'firmware/2lib/include/2constants.h')
-rw-r--r-- | firmware/2lib/include/2constants.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/2lib/include/2constants.h b/firmware/2lib/include/2constants.h index 76e7f22e..4dadd8b6 100644 --- a/firmware/2lib/include/2constants.h +++ b/firmware/2lib/include/2constants.h @@ -65,6 +65,13 @@ #define VB2_WORKBUF_ALIGN __BIGGEST_ALIGNMENT__ /* Maximum length of a HWID in bytes, counting terminating null. */ -#define VB2_GBB_HWID_MAX_SIZE 256 +#define VB2_GBB_HWID_MAX_SIZE 256 + +/* Type and offset of flags member in vb2_gbb_header struct. */ +#define VB2_GBB_FLAGS_OFFSET 12 +#ifndef __ASSEMBLER__ +#include <stdint.h> +typedef uint32_t vb2_gbb_flags_t; +#endif #endif /* VBOOT_REFERENCE_2CONSTANTS_H_ */ |