diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-05-05 11:32:51 -0500 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-07 16:17:43 +0000 |
commit | 190e6a26d99a6763b302156a47ba8c2f74b6465e (patch) | |
tree | 6256f9bc9f9b0c4a601834bc411696a1548579d0 | |
parent | ba01694b60c0e9464c71f4138b7c134cb13e38c7 (diff) | |
download | chrome-ec-190e6a26d99a6763b302156a47ba8c2f74b6465e.tar.gz |
CRYPTO_TEST_SETUP: enable the tpm
Enable the TPM with crypto test images, so boards can boot. We saved
enough space by removing smaller features. Cr50 can be built with
CRYPTO_TEST and the TPM enabled.
BUG=b:186663661
TEST=make clobber ; make -j BOARD=cr50
make clobber ; make -j BOARD=cr50 CRYPTO_TEST=1
Change-Id: Iedb16c182183993b4f33658e5074d94a9e711ca9
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2875479
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
-rw-r--r-- | common/tpm_registers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 185cadf97f..fdbe771dec 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -27,12 +27,12 @@ #include "wp.h" /* - * Do not enable TPM if crypto test is enabled - there is no room in the flash - * for both. + * ENABLE_TPM can be used to free up a bunch of space for developing features + * running up on the space limits. */ -#ifndef CRYPTO_TEST_SETUP #define ENABLE_TPM +#ifdef ENABLE_TPM /* TPM2 library includes. */ #include "ExecCommand_fp.h" #include "Platform.h" |