Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: firmware/include/gbb_header.h

Issue 3837007: Add maximum length constant for HWID, so it can be used by other utilities/firmware. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/include/gbb_header.h
diff --git a/firmware/include/gbb_header.h b/firmware/include/gbb_header.h
index 18bb64b7a04f20d5a60b67d8a32320ac75461adf..39e1ac20809e9d519368eed214a9f4e77d9ee7c4 100644
--- a/firmware/include/gbb_header.h
+++ b/firmware/include/gbb_header.h
@@ -18,6 +18,9 @@
#define GBB_MAJOR_VER (0x01)
#define GBB_MINOR_VER (0x00)
+/* Maximum length of a HWID in bytes, counting terminating null. */
+#define GBB_HWID_MAX_SIZE 256
+
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698