From 97fda101e3c996d52e8f1081eae13673941e0c80 Mon Sep 17 00:00:00 2001 From: Philipp Deppenwiese Date: Thu, 8 Nov 2018 10:49:38 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/29546 Reviewed-by: Werner Zeh Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/drivers/i2c/tpm/Makefile.inc | 4 ++++ src/drivers/pc80/tpm/Makefile.inc | 1 + src/drivers/spi/tpm/Makefile.inc | 1 + 3 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/drivers/i2c/tpm/Makefile.inc b/src/drivers/i2c/tpm/Makefile.inc index e24a66d6d1..51856fa9f0 100644 --- a/src/drivers/i2c/tpm/Makefile.inc +++ b/src/drivers/i2c/tpm/Makefile.inc @@ -2,20 +2,24 @@ ramstage-$(CONFIG_DRIVER_TIS_DEFAULT) += tis.c 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 8747374407..0de1b761f6 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 fd214c63ca..01d3b6641e 100644 --- a/src/drivers/spi/tpm/Makefile.inc +++ b/src/drivers/spi/tpm/Makefile.inc @@ -2,3 +2,4 @@ bootblock-$(CONFIG_SPI_TPM) += tis.c tpm.c 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 -- cgit v1.2.3