[coreboot-gerrit] Patch set updated for coreboot: TPM: Add TPM driver files to romstage
Furquan Shaikh (furquan@google.com)
gerrit at coreboot.org
Thu Nov 10 00:27:25 CET 2016
Furquan Shaikh (furquan at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17270
-gerrit
commit 173825326b924e653efa896c04bed64f9c3feb4c
Author: Furquan Shaikh <furquan at chromium.org>
Date: Mon Nov 7 23:33:46 2016 -0800
TPM: Add TPM driver files to romstage
This driver is required for reading and updating TPM space for recovery
MRC data hash in romstage.
BUG=chrome-os-partner:59355
BRANCH=None
TEST=Compiles successfully for reef.
Change-Id: I8edb7af13285a7a192e3d55fc6a11cfe12654bf9
Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
src/lib/Makefile.inc | 8 ++++++++
src/vboot/Makefile.inc | 2 ++
2 files changed, 10 insertions(+)
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 67f8364..36591ad 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -52,10 +52,18 @@ verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
ifeq ($(MOCK_TPM),1)
libverstage-y += mocked_tlcl.c
+romstage-$(CONFIG_SEPARATE_VERSTAGE) += mocked_tlcl.c
else
libverstage-$(CONFIG_TPM) += tlcl.c
libverstage-$(CONFIG_TPM2) += tpm2_marshaling.c
libverstage-$(CONFIG_TPM2) += tpm2_tlcl.c
+
+ifeq ($(CONFIG_SEPARATE_VERSTAGE),y)
+romstage-$(CONFIG_TPM) += tlcl.c
+romstage-$(CONFIG_TPM2) += tpm2_marshaling.c
+romstage-$(CONFIG_TPM2) += tpm2_tlcl.c
+endif # CONFIG_SEPARATE_VERSTAGE
+
endif
verstage-$(CONFIG_GENERIC_UDELAY) += timer.c
diff --git a/src/vboot/Makefile.inc b/src/vboot/Makefile.inc
index 82b4ac2..05870ca 100644
--- a/src/vboot/Makefile.inc
+++ b/src/vboot/Makefile.inc
@@ -67,8 +67,10 @@ verstage-y += common.c
verstage-y += verstage.c
ifeq (${CONFIG_VBOOT_MOCK_SECDATA},y)
libverstage-y += secdata_mock.c
+romstage-$(CONFIG_SEPARATE_VERSTAGE) += secdata_mock.c
else
libverstage-y += secdata_tpm.c
+romstage-$(CONFIG_SEPARATE_VERSTAGE) += secdata_tpm.c
endif
romstage-y += vboot_handoff.c common.c
More information about the coreboot-gerrit
mailing list