From 38e0de572802c9ca2e2cb9acdb37a3d374c5812e Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Mon, 18 Oct 2010 12:59:08 -0700 Subject: [PATCH] Add maximum length constant for HWID, so it can be used by other utilities/firmware. BUG=none TEST=manual Review URL: http://codereview.chromium.org/3837007 Change-Id: Ic5de775353ff3145018b28dccc6d983bbaf40180 --- firmware/include/gbb_header.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/include/gbb_header.h b/firmware/include/gbb_header.h index 18bb64b7a0..39e1ac2080 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