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/build.mk | |
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/build.mk')
-rw-r--r-- | common/build.mk | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/common/build.mk b/common/build.mk index 10dbb23d8c..3bfe81210d 100644 --- a/common/build.mk +++ b/common/build.mk @@ -40,28 +40,15 @@ VBOOT_DEVKEYS?=/usr/share/vboot/devkeys CFLAGS_$(CONFIG_VBOOT)+= -DCHROMEOS_ENVIRONMENT -DCHROMEOS_EC # CFLAGS_$(CONFIG_VBOOT)+= -DVBOOT_DEBUG -common-$(CONFIG_VBOOT)+=vboot.o vboot_stub.o -common-$(CONFIG_VBOOT_HASH)+=vboot_hash.o -common-$(CONFIG_VBOOT_SIG)+=vboot_sig.o +common-$(CONFIG_VBOOT)+=vboot_stub.o vboot_hash.o includes-$(CONFIG_VBOOT)+= \ $(VBOOT_SOURCE)/include \ $(VBOOT_SOURCE)/lib/include \ $(VBOOT_SOURCE)/lib/cryptolib/include -dirs-$(CONFIG_VBOOT)+= \ - vboot/lib vboot/lib/cryptolib +dirs-$(CONFIG_VBOOT)+=vboot/lib vboot/lib/cryptolib vboot-$(CONFIG_VBOOT)+= \ lib/cryptolib/padding.o \ - lib/cryptolib/sha_utility.o \ lib/cryptolib/sha256.o - -vboot-$(CONFIG_VBOOT_SIG)+= \ - lib/vboot_common.o \ - lib/utility.o \ - lib/cryptolib/rsa_utility.o \ - lib/cryptolib/rsa.o \ - lib/stateful_util.o - -sign-$(CONFIG_VBOOT_SIG)+=sign_image |