diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-02-11 13:39:19 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-15 08:25:36 +0000 |
commit | ad21d6bfcaa5fb5c5bd9cc34dee0c7ef8c85ea42 (patch) | |
tree | 8fe734672f59b08c3d3c9131dc19d9446c549358 /src/mainboard/google/brya/Kconfig | |
parent | 91a2cd47702405870947205962c18e5a3c7207ca (diff) |
mb/google/brya: Enable cr50 support
Add Kconfig options and devicetree entries for cr50 TPM.
BUG=b:180017621
TEST=verify (via console) successful cr50 communications in
verstage and payload (depthcharge).
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I80e27d0377960fb81f9149efb6f062d06432d40d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50567
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/brya/Kconfig')
-rw-r--r-- | src/mainboard/google/brya/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index ca760780ed..fbda4f7a36 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -13,6 +13,8 @@ config BOARD_GOOGLE_BASEBOARD_BRYA select HAVE_SPD_IN_CBFS select INTEL_LPSS_UART_FOR_CONSOLE select MAINBOARD_HAS_CHROMEOS + select MAINBOARD_HAS_I2C_TPM_CR50 + select MAINBOARD_HAS_TPM2 select SOC_INTEL_ALDERLAKE if BOARD_GOOGLE_BASEBOARD_BRYA @@ -30,6 +32,18 @@ config DEVICETREE string default "variants/baseboard/devicetree.cb" +config DRIVER_TPM_I2C_BUS + hex + default 0x3 + +config DRIVER_TPM_I2C_ADDR + hex + default 0x50 + +config TPM_TIS_ACPI_INTERRUPT + int + default 13 # GPE0_DW0_13 (GPP_A13_IRQ) + config OVERRIDE_DEVICETREE string default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |