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>
This commit is contained in:
Randall Spangler
2012-07-08 12:44:20 -07:00
committed by Gerrit
parent 8f23a18b9b
commit f8a4b6bf51

View File

@@ -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.