[coreboot-gerrit] Change in coreboot[master]: drivers/i2c: Add i2c TPM support for different stages
Philipp Deppenwiese (Code Review)
gerrit at coreboot.org
Sat Aug 11 01:26:44 CEST 2018
Philipp Deppenwiese has submitted this change and it was merged. ( 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 at das-labor.org>
Reviewed-on: https://review.coreboot.org/23759
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
Reviewed-by: David Hendricks <david.hendricks at gmail.com>
---
M src/drivers/i2c/designware/Makefile.inc
M src/mainboard/google/gale/Makefile.inc
M src/mainboard/google/storm/Makefile.inc
M src/soc/intel/apollolake/Makefile.inc
M src/soc/intel/cannonlake/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/intel/skylake/Makefile.inc
M src/soc/mediatek/mt8173/Makefile.inc
M src/soc/qualcomm/ipq40xx/Makefile.inc
M src/soc/qualcomm/ipq806x/Makefile.inc
M src/soc/rockchip/rk3288/Makefile.inc
M src/soc/rockchip/rk3399/Makefile.inc
15 files changed, 21 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
David Hendricks: Looks good to me, approved
Aaron Durbin: Looks good to me, approved
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/mainboard/google/gale/Makefile.inc b/src/mainboard/google/gale/Makefile.inc
index 855e712..acdca2b 100644
--- a/src/mainboard/google/gale/Makefile.inc
+++ b/src/mainboard/google/gale/Makefile.inc
@@ -32,6 +32,7 @@
romstage-y += chromeos.c
romstage-y += mmu.c
romstage-y += reset.c
+romstage-y += blsp.c
ramstage-y += boardid.c
ramstage-y += cdp.c
diff --git a/src/mainboard/google/storm/Makefile.inc b/src/mainboard/google/storm/Makefile.inc
index b603977..232ff48 100644
--- a/src/mainboard/google/storm/Makefile.inc
+++ b/src/mainboard/google/storm/Makefile.inc
@@ -30,6 +30,7 @@
romstage-y += chromeos.c
romstage-y += mmu.c
romstage-y += reset.c
+romstage-y += gsbi.c
ramstage-y += boardid.c
ramstage-y += cdp.c
diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc
index cb66365..8a37ae4 100644
--- a/src/soc/intel/apollolake/Makefile.inc
+++ b/src/soc/intel/apollolake/Makefile.inc
@@ -71,6 +71,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/cannonlake/Makefile.inc b/src/soc/intel/cannonlake/Makefile.inc
index 0a09eb6..013e86a 100644
--- a/src/soc/intel/cannonlake/Makefile.inc
+++ b/src/soc/intel/cannonlake/Makefile.inc
@@ -65,6 +65,9 @@
postcar-y += memmap.c
postcar-y += pmutil.c
+postcar-y += i2c.c
+postcar-y += gspi.c
+postcar-y += spi.c
postcar-$(CONFIG_UART_DEBUG) += uart.c
verstage-y += gspi.c
diff --git a/src/soc/intel/common/Makefile.inc b/src/soc/intel/common/Makefile.inc
index a897201..11a4575 100644
--- a/src/soc/intel/common/Makefile.inc
+++ b/src/soc/intel/common/Makefile.inc
@@ -30,6 +30,7 @@
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))
diff --git a/src/soc/intel/common/block/i2c/Makefile.inc b/src/soc/intel/common/block/i2c/Makefile.inc
index 9683210..db26538 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.c
romstage-y += i2c.c
verstage-y += i2c.c
+postcar-y += i2c.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/intel/skylake/Makefile.inc b/src/soc/intel/skylake/Makefile.inc
index 89e48f1..1060c2a 100644
--- a/src/soc/intel/skylake/Makefile.inc
+++ b/src/soc/intel/skylake/Makefile.inc
@@ -78,6 +78,7 @@
postcar-y += memmap.c
postcar-y += gspi.c
postcar-y += spi.c
+postcar-y += i2c.c
postcar-$(CONFIG_UART_DEBUG) += uart.c
# cpu_microcode_bins += ???
diff --git a/src/soc/mediatek/mt8173/Makefile.inc b/src/soc/mediatek/mt8173/Makefile.inc
index 2aa7b8d..20ca610 100644
--- a/src/soc/mediatek/mt8173/Makefile.inc
+++ b/src/soc/mediatek/mt8173/Makefile.inc
@@ -50,6 +50,7 @@
romstage-y += ../common/pll.c pll.c
romstage-y += ../common/timer.c
romstage-y += timer.c
+romstage-y += i2c.c
romstage-$(CONFIG_DRIVERS_UART) += ../common/uart.c
romstage-y += ../common/cbmem.c
diff --git a/src/soc/qualcomm/ipq40xx/Makefile.inc b/src/soc/qualcomm/ipq40xx/Makefile.inc
index 08be720..d66a3d8 100644
--- a/src/soc/qualcomm/ipq40xx/Makefile.inc
+++ b/src/soc/qualcomm/ipq40xx/Makefile.inc
@@ -38,6 +38,9 @@
romstage-y += timer.c
romstage-$(CONFIG_DRIVERS_UART) += uart.c
romstage-y += cbmem.c
+romstage-y += i2c.c
+romstage-y += blsp.c
+romstage-y += qup.c
ramstage-y += blobs_init.c
ramstage-y += cbmem.c
diff --git a/src/soc/qualcomm/ipq806x/Makefile.inc b/src/soc/qualcomm/ipq806x/Makefile.inc
index 624b633..b14db03 100644
--- a/src/soc/qualcomm/ipq806x/Makefile.inc
+++ b/src/soc/qualcomm/ipq806x/Makefile.inc
@@ -37,6 +37,9 @@
romstage-y += timer.c
romstage-$(CONFIG_DRIVERS_UART) += uart.c
romstage-y += cbmem.c
+romstage-y += i2c.c
+romstage-y += gsbi.c
+romstage-y += qup.c
ramstage-y += blobs_init.c
ramstage-y += cbmem.c
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 b9c3803..83936e8 100644
--- a/src/soc/rockchip/rk3399/Makefile.inc
+++ b/src/soc/rockchip/rk3399/Makefile.inc
@@ -57,6 +57,7 @@
romstage-y += gpio.c
romstage-y += saradc.c
romstage-y += ../common/gpio.c
+romstage-y += ../common/i2c.c
################################################################################
--
To view, visit https://review.coreboot.org/23759
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0839933f8b59f0c87cdda4e5374828bd6f1099f
Gerrit-Change-Number: 23759
Gerrit-PatchSet: 11
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks at gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180810/b3fc29ac/attachment.html>
More information about the coreboot-gerrit
mailing list