diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-09-28 14:45:14 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-29 20:16:24 -0700 |
commit | aca2692f3224836eea5c2e5f1474e1d454af7062 (patch) | |
tree | 8a44697f83c069ce05ed63d5a71e9712565532bc /common/vboot_hash.c | |
parent | 6f7d764e50accbe51114d46b56c31651c7b80a72 (diff) | |
download | chrome-ec-aca2692f3224836eea5c2e5f1474e1d454af7062.tar.gz |
g: limit compiling in crypto tests to cases where CR50DEV > 1
To aid with severe flash space shortage, let's enable
CRYPTO_TEST_SETUP only if CR50_DEV is set to a value exceeding 1.
board/mn50/board.h used to define CR50_DEV without any value assigned
to it, correct this so that the check in dcrypto.h works when mn50 is
built.
BRANCH=cr50
BUG=b:65253310
TEST=compiling with CR50-DEV=1 vs CR50_DEV=2 saves more than
17.5 Kbytes per RW image.
Change-Id: Ic77fa45b1a8f7631efa91c08e63438d412196eed
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/690993
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/vboot_hash.c')
0 files changed, 0 insertions, 0 deletions