From a0bd3e9a972908c428677b2c1541d16ddf9e77a0 Mon Sep 17 00:00:00 2001 From: Grzegorz Bernacki Date: Mon, 29 May 2023 11:53:38 +0000 Subject: mb/google: AMD: move tpm_tis to AMD common code It moves cr50_plat_irq_status() to common code and adds Kconfig option to specify GPIO used for interrupt. BUG=b:277787305 TEST=Build all affected platform and confirm using right GPIO number. Tested on Skyrim. Change-Id: I775c4e24cffee99b6ac3e05b58a75425029a86c8 Signed-off-by: Grzegorz Bernacki Reviewed-on: https://review.coreboot.org/c/coreboot/+/75621 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Eric Lai Reviewed-by: Martin L Roth --- src/mainboard/google/guybrush/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/guybrush/Kconfig') diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig index 50bcfa966b..8ddd3b1fe9 100644 --- a/src/mainboard/google/guybrush/Kconfig +++ b/src/mainboard/google/guybrush/Kconfig @@ -95,6 +95,11 @@ config DRIVER_TPM_I2C_ADDR hex default 0x50 +config GSC_IRQ_GPIO + int + default 3 if BOARD_GOOGLE_GUYBRUSH + default 85 + config AMDFW_CONFIG_FILE string default "src/mainboard/google/guybrush/variants/baseboard/amdfw.cfg" -- cgit v1.2.3