diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-10-25 13:40:42 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-10-25 17:03:44 -0700 |
commit | 00b344ddbb570a5dae9b27f8441202dcecba9a4a (patch) | |
tree | eee0a8d12ca3b062c7d60b12ddd84cbc06559528 /Makefile.rules | |
parent | f48f9a6228c32c3435eaa113ed34268503c69a4f (diff) | |
download | chrome-ec-00b344ddbb570a5dae9b27f8441202dcecba9a4a.tar.gz |
Clean up vboot hash support
This copies the parts of sha256.c that we need from vboot_reference,
and removes the explicit dependency on vboot_reference. That
dependency was a good idea when we were doing full verified boot in
the EC, but is now overkill and makes it harder for others to reuse
the EC code. This also lets us call EC functions directly instead of
needing vboot_stub.cc; that reduces code size by ~100 bytes.
BUG=chrome-os-partner:15579
BRANCH=none
TEST=vboot_hash ro, then compare with result of sha256sum build/link/ec.RO.flat
Change-Id: I0f236174291df3e7f3c75e960fe9ab32af305a61
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36589
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Makefile.rules b/Makefile.rules index 98adb101a7..50709aa64c 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -41,12 +41,6 @@ cmd_c_to_host = $(HOSTCC) $(HOST_CFLAGS) -MMD -MF $@.d $(filter %.c, $^) -o $@ cmd_qemu = ./util/run_qemu_test --image=build/$(BOARD)/$*/$*.bin test/$*.py \ $(silent) cmd_version = ./util/getversion.sh > $@ -cmd_sign = vbutil_ec --sign $(out)/$*.bin.tmp \ - --version 1 \ - --keyblock $(VBOOT_DEVKEYS)/ec.keyblock \ - --signprivate $(VBOOT_DEVKEYS)/ec_data_key.vbprivk \ - --signpubkey $(VBOOT_DEVKEYS)/ec_root_key.vbpubk \ - $(silent) cmd_mv_from_tmp = mv $(out)/$*.bin.tmp $(out)/$*.bin cmd_extractrw-y = cd $(out) && \ dump_fmap -x $(PROJECT).bin.tmp RW_SECTION_A $(silent) && \ |