[coreboot-gerrit] Change in coreboot[master]: drivers/*/tpm: Add postcar target

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Thu Nov 8 10:55:42 CET 2018


Philipp Deppenwiese has uploaded this change for review. ( https://review.coreboot.org/29546


Change subject: drivers/*/tpm: Add postcar target
......................................................................

drivers/*/tpm: Add postcar target

Now postcar is a standalone stage, add
it as target to all TPM bus drivers.
This is a required for a measured boot.

Change-Id: I758185daf3941a29883c2256b900360e112275e1
Signed-off-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
---
M src/drivers/i2c/tpm/Makefile.inc
M src/drivers/pc80/tpm/Makefile.inc
M src/drivers/spi/tpm/Makefile.inc
3 files changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/29546/1

diff --git a/src/drivers/i2c/tpm/Makefile.inc b/src/drivers/i2c/tpm/Makefile.inc
index e24a66d..51856fa 100644
--- a/src/drivers/i2c/tpm/Makefile.inc
+++ b/src/drivers/i2c/tpm/Makefile.inc
@@ -2,20 +2,24 @@
 romstage-$(CONFIG_DRIVER_TIS_DEFAULT) += tis.c
 verstage-$(CONFIG_DRIVER_TIS_DEFAULT) += tis.c
 bootblock-$(CONFIG_DRIVER_TIS_DEFAULT) += tis.c
+postcar-$(CONFIG_DRIVER_TIS_DEFAULT) += tis.c
 
 ramstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL) += tis_atmel.c
 romstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL) += tis_atmel.c
 verstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL) += tis_atmel.c
 bootblock-$(CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL) += tis_atmel.c
+postcar-$(CONFIG_MAINBOARD_HAS_I2C_TPM_ATMEL) += tis_atmel.c
 
 ramstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC) += tpm.c
 romstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC) += tpm.c
 verstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC) += tpm.c
 bootblock-$(CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC) += tpm.c
+postcar-$(CONFIG_MAINBOARD_HAS_I2C_TPM_GENERIC) += tpm.c
 
 ramstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_CR50) += cr50.c
 romstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_CR50) += cr50.c
 verstage-$(CONFIG_MAINBOARD_HAS_I2C_TPM_CR50) += cr50.c
 bootblock-$(CONFIG_MAINBOARD_HAS_I2C_TPM_CR50) += cr50.c
+postcar-$(CONFIG_MAINBOARD_HAS_I2C_TPM_CR50) += cr50.c
 
 ramstage-$(CONFIG_DRIVER_I2C_TPM_ACPI) += chip.c
diff --git a/src/drivers/pc80/tpm/Makefile.inc b/src/drivers/pc80/tpm/Makefile.inc
index 8747374..0de1b76 100644
--- a/src/drivers/pc80/tpm/Makefile.inc
+++ b/src/drivers/pc80/tpm/Makefile.inc
@@ -1,3 +1,4 @@
 verstage-$(CONFIG_LPC_TPM) += tis.c
 romstage-$(CONFIG_LPC_TPM) += tis.c
 ramstage-$(CONFIG_LPC_TPM) += tis.c
+postcar-$(CONFIG_LPC_TPM) += tis.c
diff --git a/src/drivers/spi/tpm/Makefile.inc b/src/drivers/spi/tpm/Makefile.inc
index fd214c6..01d3b66 100644
--- a/src/drivers/spi/tpm/Makefile.inc
+++ b/src/drivers/spi/tpm/Makefile.inc
@@ -2,3 +2,4 @@
 verstage-$(CONFIG_SPI_TPM) += tis.c tpm.c
 romstage-$(CONFIG_SPI_TPM) += tis.c tpm.c
 ramstage-$(CONFIG_SPI_TPM) += tis.c tpm.c
+postcar-$(CONFIG_SPI_TPM) += tis.c tpm.c

-- 
To view, visit https://review.coreboot.org/29546
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I758185daf3941a29883c2256b900360e112275e1
Gerrit-Change-Number: 29546
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181108/6c8642db/attachment.html>


More information about the coreboot-gerrit mailing list