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:
committed by
Philipp Deppenwiese
parent
52acef175e
commit
545ed7ab3b
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user