summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-07-08 12:44:20 -0700
committerGerrit <chrome-bot@google.com>2012-07-09 10:58:14 -0700
commitf8a4b6bf5135bc608916c7d28c2577112fdb94b9 (patch)
treec798924c7a4735a328da57cd10b5ef47ee6c9409 /common/main.c
parent8f23a18b9b98c49035188a2abcd2d7271ecbee83 (diff)
downloadchrome-ec-f8a4b6bf5135bc608916c7d28c2577112fdb94b9.tar.gz
Only disable sysjump in main if we're doing signature-based verified boot
EC software sync still needs to be able to sysjump later after the AP decides which image the EC should be running. BUG=chrome-os-partner:11087 TEST=manual sysjump A sysjump RO sysjump A sysjump RO Change-Id: I74eaf10dacf6eaa6aeabae2ff3b21ad387517605 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/26896 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c
index de54b6bbbb..df7a2be8aa 100644
--- a/common/main.c
+++ b/common/main.c
@@ -128,7 +128,6 @@ int main(void)
* RO image and once in the RW image.
*/
vboot_check_signature();
-#endif
/*
* If system is locked, disable system jumps now that vboot has had its
@@ -136,6 +135,7 @@ int main(void)
*/
if (system_is_locked())
system_disable_jump();
+#endif
/*
* Initialize other driver modules. These can occur in any order.