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
This commit is contained in:
Randall Spangler
2010-10-18 12:59:08 -07:00
parent 3dd3ce8560
commit 38e0de5728

View File

@@ -18,6 +18,9 @@
#define GBB_MAJOR_VER (0x01) #define GBB_MAJOR_VER (0x01)
#define GBB_MINOR_VER (0x00) #define GBB_MINOR_VER (0x00)
/* Maximum length of a HWID in bytes, counting terminating null. */
#define GBB_HWID_MAX_SIZE 256
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif // __cplusplus #endif // __cplusplus