grunt: Enable TPM
Kahlee uses LPC TPM while grunt is using Cr50 connected to I2C. Create the appropriate selection based on selected board, and if grunt then define the I2C address. BUG=b:69416132 BRANCH=none TEST=make all Change-Id: Ia866f80de0164d8cec84e204a5fe93bb53df547f Signed-off-by: Chris Ching <chingcodes@chromium.org> Reviewed-on: https://review.coreboot.org/22960 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
b8d338c467
commit
65d2754e1a
|
@ -28,7 +28,7 @@ config BOARD_GOOGLE_BASEBOARD_KAHLEE
|
|||
select GFXUMA
|
||||
select GOOGLE_SMBIOS_MAINBOARD_VERSION
|
||||
select MAINBOARD_HAS_CHROMEOS
|
||||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_LPC_TPM if BOARD_GOOGLE_KAHLEE
|
||||
select SERIRQ_CONTINUOUS_MODE
|
||||
select STONEYRIDGE_UART
|
||||
select SOC_AMD_PSP_SELECTABLE_SMU_FW
|
||||
|
@ -101,4 +101,22 @@ config AMD_FWM_POSITION_INDEX
|
|||
int
|
||||
default 1
|
||||
|
||||
endif # BOARD_GOOGLE_KAHLEE || BOARD_GOOGLE_GRUNT
|
||||
# Select this option to enable use of cr50 I2C TPM on kahlee
|
||||
config KAHLEE_USE_I2C_TPM
|
||||
bool
|
||||
default y if !BOARD_GOOGLE_KAHLEE
|
||||
select I2C_TPM
|
||||
select MAINBOARD_HAS_I2C_TPM_CR50
|
||||
select TPM2
|
||||
|
||||
config DRIVER_TPM_I2C_BUS
|
||||
hex
|
||||
depends on KAHLEE_USE_I2C_TPM
|
||||
default 0x01
|
||||
|
||||
config DRIVER_TPM_I2C_ADDR
|
||||
hex
|
||||
depends on KAHLEE_USE_I2C_TPM
|
||||
default 0x50
|
||||
|
||||
endif # BOARD_GOOGLE_BASEBOARD_KAHLEE
|
||||
|
|
Loading…
Reference in New Issue