diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-08-07 15:43:57 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-08-07 19:06:33 -0700 |
commit | 45cd8463a3e1611e4721ccb9f1beef8f4ab897af (patch) | |
tree | e5e17df16d7b145dd5321e29a37fe9c45552fd07 /common/main.c | |
parent | 29cbe516631f15d548be1da101b6f04f692982d4 (diff) | |
download | chrome-ec-45cd8463a3e1611e4721ccb9f1beef8f4ab897af.tar.gz |
Remove signature-based vboot support
Superseded by EC software sync (hash-based).
Sig-based vboot was correctly implemented, but ended up being too slow
to be useful given the limited processing power of the EC chips, and
we also couldn't come up with a manageable way to handle A/B
autoupdate of signed EC firmware.
This change and an associated vboot_reference change shrinks the EC
binary by ~2KB.
BUG=chrome-os-partner:11232
TEST=build link,snow; boot link and check that 'hash' command still works.
Change-Id: I3f03ae2d0a4030977826980d6ec5613181e154c2
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/29496
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/common/main.c b/common/main.c index 682ecf1e5c..79ad7bfac2 100644 --- a/common/main.c +++ b/common/main.c @@ -20,7 +20,6 @@ #include "task.h" #include "timer.h" #include "uart.h" -#include "vboot.h" #include "watchdog.h" int main(void) @@ -115,25 +114,6 @@ int main(void) keyboard_scan_init(); #endif -#ifdef CONFIG_VBOOT_SIG - /* - * Verified boot signature check. This may jump to another image, which - * will need to reconfigure / reinitialize the system, so as little as - * possible should be done above this step. - * - * Note that steps above here may be done TWICE per boot, once in the - * RO image and once in the RW image. - */ - vboot_check_signature(); - - /* - * If system is locked, disable system jumps now that vboot has had its - * chance to jump to a RW image. - */ - if (system_is_locked()) - system_disable_jump(); -#endif - /* * Initialize other driver modules. These can occur in any order. * Non-driver modules with tasks do their inits from their task |