diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-06-26 09:34:56 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-06-26 13:58:53 -0700 |
commit | 90afebac6406e02ce306a4a6eaf7b66097a81931 (patch) | |
tree | da7fa951af295cf843ae7e805ed3f76afc33e937 /include/vboot.h | |
parent | b8d7d8fc44b6e1b4e1fef268e6a6a68dbc6f845e (diff) | |
download | chrome-ec-90afebac6406e02ce306a4a6eaf7b66097a81931.tar.gz |
Strip out vboot signature code and stay in RO for link
BUG=chrome-os-partner:10880
TEST=boot EC; should stay in RO and not do signature check
(verify via debug console output)
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Change-Id: I831aa91f8273bc7fb1a624cf36d9f21d52d8f3d8
Reviewed-on: https://gerrit.chromium.org/gerrit/26115
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Tested-by: Randall Spangler <rspangler@chromium.org>
Commit-Ready: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/vboot.h')
-rw-r--r-- | include/vboot.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/include/vboot.h b/include/vboot.h index 48d626c0c7..0e884606a7 100644 --- a/include/vboot.h +++ b/include/vboot.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. */ @@ -10,11 +10,16 @@ #include "common.h" -/* Pre-initializes the module. This occurs before clocks or tasks are - * set up. */ +/* Pre-initialize the module. This occurs before clocks or tasks are set up. */ int vboot_pre_init(void); -/* Initializes the module. */ +/* + * Check verified boot signatures, and jump to one of the RW images if + * necessary. + */ +int vboot_check_signature(void); + +/* Initialize the module. */ int vboot_init(void); /* These are the vboot commands available via LPC. */ @@ -24,9 +29,11 @@ enum vboot_command { VBOOT_NUM_CMDS, }; -/* These are the flags transferred across LPC. At the moment, only the devmode - flag can be set, and only because it's faked. Ultimately this functionality - will be moved elsewhere. */ +/* + * These are the flags transferred across LPC. At the moment, only the devmode + * flag can be set, and only because it's faked. Ultimately this functionality + * will be moved elsewhere. + */ #define VBOOT_FLAGS_IMAGE_MASK 0x03 /* enum system_image_copy_t */ #define VBOOT_FLAGS_FAKE_DEVMODE 0x04 /* fake dev-mode bit */ |