drivers/i2c: Add i2c TPM support for different stages

Change-Id: Ib0839933f8b59f0c87cdda4e5374828bd6f1099f
Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org>
Reviewed-on: https://review.coreboot.org/23759
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
This commit is contained in:
Philipp Deppenwiese
2018-02-14 16:47:12 +01:00
committed by Philipp Deppenwiese
parent 52acef175e
commit 545ed7ab3b
15 changed files with 21 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ bootblock-$(CONFIG_TPM_CR50) += tpm_tis.c
verstage-$(CONFIG_TPM_CR50) += tpm_tis.c
romstage-$(CONFIG_TPM_CR50) += tpm_tis.c
ramstage-$(CONFIG_TPM_CR50) += tpm_tis.c
postcar-$(CONFIG_TPM_CR50) += tpm_tis.c
ifeq ($(CONFIG_MMA),y)
MMA_BLOBS_PATH = $(call strip_quotes,$(CONFIG_MMA_BLOBS_PATH))

View File

@@ -3,6 +3,7 @@ ifeq ($(CONFIG_SOC_INTEL_COMMON_BLOCK_I2C),y)
bootblock-y += i2c.c
romstage-y += i2c.c
verstage-y += i2c.c
postcar-y += i2c.c
ramstage-y += i2c.c
endif

View File

@@ -2,4 +2,5 @@ bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c
romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c
verstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c
postcar-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c
smm-$(CONFIG_SOC_INTEL_COMMON_BLOCK_LPSS) += lpss.c

View File

@@ -5,4 +5,5 @@ ramstage-y += pmc.c
ramstage-y += pmclib.c
smm-y += pmclib.c
verstage-y += pmclib.c
postcar-y += pmclib.c
endif