Philipp Deppenwiese has uploaded this change for review. ( https://review.coreboot.org/23759
Change subject: drivers/i2c: Add i2c TPM support for different stages ......................................................................
drivers/i2c: Add i2c TPM support for different stages
Change-Id: Ib0839933f8b59f0c87cdda4e5374828bd6f1099f Signed-off-by: Philipp Deppenwiese zaolin@das-labor.org --- M src/drivers/i2c/designware/Makefile.inc M src/soc/intel/apollolake/Makefile.inc M src/soc/intel/common/Makefile.inc M src/soc/intel/common/block/i2c/Makefile.inc M src/soc/intel/common/block/lpss/Makefile.inc M src/soc/intel/common/block/pmc/Makefile.inc M src/soc/rockchip/rk3288/Makefile.inc M src/soc/rockchip/rk3399/Makefile.inc 8 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/23759/1
diff --git a/src/drivers/i2c/designware/Makefile.inc b/src/drivers/i2c/designware/Makefile.inc index 0e92f05..b960a1c 100644 --- a/src/drivers/i2c/designware/Makefile.inc +++ b/src/drivers/i2c/designware/Makefile.inc @@ -4,5 +4,6 @@ romstage-y += dw_i2c.c verstage-y += dw_i2c.c ramstage-y += dw_i2c.c +postcar-y += dw_i2c.c
endif diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc index 68f2947..02a936d 100644 --- a/src/soc/intel/apollolake/Makefile.inc +++ b/src/soc/intel/apollolake/Makefile.inc @@ -67,6 +67,7 @@ postcar-y += memmap.c postcar-y += mmap_boot.c postcar-y += spi.c +postcar-y += i2c.c postcar-$(CONFIG_SOC_UART_DEBUG) += uart.c
postcar-$(CONFIG_FSP_CAR) += exit_car_fsp.S diff --git a/src/soc/intel/common/Makefile.inc b/src/soc/intel/common/Makefile.inc index 52d2465..2d3df2a 100644 --- a/src/soc/intel/common/Makefile.inc +++ b/src/soc/intel/common/Makefile.inc @@ -30,6 +30,7 @@ verstage-$(CONFIG_CR50) += tpm_tis.c romstage-$(CONFIG_CR50) += tpm_tis.c ramstage-$(CONFIG_CR50) += tpm_tis.c +postcar-$(CONFIG_CR50) += tpm_tis.c
ifeq ($(CONFIG_MMA),y) MMA_BLOBS_PATH = $(call strip_quotes,$(CONFIG_MMA_BLOBS_PATH)) diff --git a/src/soc/intel/common/block/i2c/Makefile.inc b/src/soc/intel/common/block/i2c/Makefile.inc index 58feb5f..464a194 100644 --- a/src/soc/intel/common/block/i2c/Makefile.inc +++ b/src/soc/intel/common/block/i2c/Makefile.inc @@ -3,6 +3,7 @@ bootblock-y += i2c_early.c romstage-y += i2c_early.c verstage-y += i2c_early.c +postcar-y += i2c_early.c ramstage-y += i2c.c
endif diff --git a/src/soc/intel/common/block/lpss/Makefile.inc b/src/soc/intel/common/block/lpss/Makefile.inc index 6ed654f..a185492 100644 --- a/src/soc/intel/common/block/lpss/Makefile.inc +++ b/src/soc/intel/common/block/lpss/Makefile.inc @@ -2,4 +2,5 @@ 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 diff --git a/src/soc/intel/common/block/pmc/Makefile.inc b/src/soc/intel/common/block/pmc/Makefile.inc index 2253115..9657217 100644 --- a/src/soc/intel/common/block/pmc/Makefile.inc +++ b/src/soc/intel/common/block/pmc/Makefile.inc @@ -5,4 +5,5 @@ ramstage-y += pmclib.c smm-y += pmclib.c verstage-y += pmclib.c +postcar-y += pmclib.c endif diff --git a/src/soc/rockchip/rk3288/Makefile.inc b/src/soc/rockchip/rk3288/Makefile.inc index 75c2e24..100c00e 100644 --- a/src/soc/rockchip/rk3288/Makefile.inc +++ b/src/soc/rockchip/rk3288/Makefile.inc @@ -54,6 +54,7 @@ romstage-y += ../common/rk808.c romstage-y += ../common/pwm.c romstage-y += tsadc.c +romstage-y += ../common/i2c.c
ramstage-y += soc.c ramstage-y += ../common/cbmem.c diff --git a/src/soc/rockchip/rk3399/Makefile.inc b/src/soc/rockchip/rk3399/Makefile.inc index 54c5115..6b399df 100644 --- a/src/soc/rockchip/rk3399/Makefile.inc +++ b/src/soc/rockchip/rk3399/Makefile.inc @@ -56,6 +56,7 @@ romstage-y += gpio.c romstage-y += saradc.c romstage-y += ../common/gpio.c +romstage-y += ../common/i2c.c
################################################################################