[coreboot-gerrit] Change in coreboot[master]: mb/google/octopus: Select TPM options only if mocktpm is not selected
Furquan Shaikh (Code Review)
gerrit at coreboot.org
Fri Mar 23 18:06:40 CET 2018
Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/25340
Change subject: mb/google/octopus: Select TPM options only if mocktpm is not selected
......................................................................
mb/google/octopus: Select TPM options only if mocktpm is not selected
This change adds a new Kconfig option for mainboard octopus "HAS_TPM"
that auto-selects all TPM related options only if VBOOT_MOCK_SECDATA
is not selected.
BUG=b:76203913
TEST=Compiles fine with mocktpm.
Change-Id: Ib28fc47a70be58cd9a9ec65ce3b1cda68d558437
Signed-off-by: Furquan Shaikh <furquan at google.com>
---
M src/mainboard/google/octopus/Kconfig
1 file changed, 9 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/25340/1
diff --git a/src/mainboard/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig
index 0e58215..60c98c0 100644
--- a/src/mainboard/google/octopus/Kconfig
+++ b/src/mainboard/google/octopus/Kconfig
@@ -10,14 +10,11 @@
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_BOARDID
select EC_GOOGLE_CHROMEEC_LPC
+ select HAS_TPM if !VBOOT_MOCK_SECDATA
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select MAINBOARD_HAS_CHROMEOS
- select MAINBOARD_HAS_TPM2
- select MAINBOARD_HAS_SPI_TPM_CR50
select SOC_ESPI
- select SPI_TPM
- select TPM2
if BOARD_GOOGLE_BASEBOARD_OCTOPUS
@@ -63,6 +60,14 @@
default "BIP TEST 5732" if BOARD_GOOGLE_BIP
default "OCTOPUS TEST 6859" if BOARD_GOOGLE_OCTOPUS
+config HAS_TPM
+ bool
+ default n
+ select MAINBOARD_HAS_SPI_TPM_CR50
+ select MAINBOARD_HAS_TPM2
+ select SPI_TPM
+ select TPM2
+
config MAX_CPUS
int
default 4
--
To view, visit https://review.coreboot.org/25340
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib28fc47a70be58cd9a9ec65ce3b1cda68d558437
Gerrit-Change-Number: 25340
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180323/5522d9f9/attachment.html>
More information about the coreboot-gerrit
mailing list