summaryrefslogtreecommitdiff
path: root/firmware/include/vboot_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/vboot_struct.h')
-rw-r--r--firmware/include/vboot_struct.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/include/vboot_struct.h b/firmware/include/vboot_struct.h
index 7000f6e8..4b951b2a 100644
--- a/firmware/include/vboot_struct.h
+++ b/firmware/include/vboot_struct.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -236,6 +236,12 @@ typedef struct VbKernelPreambleHeader {
/* VbInit() was told the system supports EC software sync */
#define VBSD_EC_SOFTWARE_SYNC 0x00000800
+/* Supported flags by header version. It's ok to add new flags while keeping
+ * struct version 2 as long as flag-NOT-present is the correct value for
+ * existing hardware (Stumpy/Lumpy). */
+#define VBSD_FLAGS_VERSION_1 0x00000007 /* Alex, ZGB */
+#define VBSD_FLAGS_VERSION_2 0x00000F7F
+
/* Result codes for VbSharedDataHeader.check_fw_a_result (and b_result) */
#define VBSD_LF_CHECK_NOT_DONE 0
#define VBSD_LF_CHECK_DEV_MISMATCH 1