summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/include/2constants.h')
-rw-r--r--firmware/2lib/include/2constants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/2lib/include/2constants.h b/firmware/2lib/include/2constants.h
index 81d1cc56..ef772ef6 100644
--- a/firmware/2lib/include/2constants.h
+++ b/firmware/2lib/include/2constants.h
@@ -64,4 +64,7 @@
* macro for us we'll be safe and use that. */
#define VB2_WORKBUF_ALIGN __BIGGEST_ALIGNMENT__
+/* Maximum length of a HWID in bytes, counting terminating null. */
+#define VB2_GBB_HWID_MAX_SIZE 256
+
#endif /* VBOOT_REFERENCE_2CONSTANTS_H_ */