summaryrefslogtreecommitdiff
path: root/firmware/include/vboot_api.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2011-07-01 16:12:47 -0700
committerRandall Spangler <rspangler@chromium.org>2011-07-08 13:31:36 -0700
commit1b1998dff0002f20b3f27a21e6e79d8951e64684 (patch)
treefec838ef7d0867dc021087308c57b8b9cd1197b1 /firmware/include/vboot_api.h
parente49e8af65fce38da7a308305566f8a14f102254a (diff)
downloadvboot-1b1998dff0002f20b3f27a21e6e79d8951e64684.tar.gz
Vboot wrapper initial implementation
Patch 1: Initial change Patch 2: Fix comment in vboot_struct.h Patch 3: Revert files unintentionally reverted Patch 4: (rebase) Patch 5: (rebase) Patch 6: Revert files unintentionally reverted (again) Patch 7: Fix mocked tlcl for ARM build BUG=chromium-os:17010 TEST=make && make runtests; works on H2C; emerge-tegra2_seaboard chromeos-bootimage compiles Change-Id: I6e5ce72d41b9297c07a3f330a881eba68cfabee2 Reviewed-on: http://gerrit.chromium.org/gerrit/3593 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r--firmware/include/vboot_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index 0de2dadf..c9eeb33d 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -93,6 +93,8 @@ typedef struct VbCommonParams {
#define VB_INIT_FLAG_REC_BUTTON_PRESSED 0x00000002
/* Hardware write protect was enabled at boot time. */
#define VB_INIT_FLAG_WP_ENABLED 0x00000004
+/* This is a S3 resume, not a normal boot. */
+#define VB_INIT_FLAG_S3_RESUME 0x00000008
/* Output flags for VbInitParams.out_flags. Used to indicate
@@ -113,6 +115,8 @@ typedef struct VbCommonParams {
* VB_DISK_FLAG_REMOVABLE flag. If this flag is not present, VbExDisk*()
* functions will only be called for fixed disks. */
#define VB_INIT_OUT_ENABLE_USB_STORAGE 0x00000008
+/* If this is a S3 resume, do a debug reset boot instead */
+#define VB_INIT_OUT_S3_DEBUG_BOOT 0x00000010
/* Data only used by VbInit() */