From 3f98aadacd5ba90d8bf36e448b52d44177760631 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 19 Apr 2017 10:12:47 -0500 Subject: mainboard/google/poppy: use intel common tis_plat_irq_status() Utilize the intel/common code for tis_plat_irq_status() to remove dependencies and code duplication on for bringing up a board requiring tis_plat_irq_status(). Change-Id: I2aaa1d7d3ce171dc1788438ff9990fce533deb6c Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/19371 Tested-by: build bot (Jenkins) --- src/mainboard/google/poppy/Kconfig | 7 +++++++ src/mainboard/google/poppy/chromeos.c | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig index 03ce99b8b9..fa0c6b69b4 100644 --- a/src/mainboard/google/poppy/Kconfig +++ b/src/mainboard/google/poppy/Kconfig @@ -74,4 +74,11 @@ config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES select VBOOT_LID_SWITCH +config DRIVER_TPM_SPI_BUS + default 0x1 + +config TPM_TIS_ACPI_INTERRUPT + int + default 64 # GPE0_DW2_00 (GPP_E0) + endif # BOARD_GOOGLE_BASEBOARD_POPPY diff --git a/src/mainboard/google/poppy/chromeos.c b/src/mainboard/google/poppy/chromeos.c index e74933dd7b..cf9579ed9c 100644 --- a/src/mainboard/google/poppy/chromeos.c +++ b/src/mainboard/google/poppy/chromeos.c @@ -17,9 +17,7 @@ #include #include #include -#include #include -#include #include #include @@ -56,8 +54,3 @@ void mainboard_chromeos_acpi_generate(void) gpios = variant_cros_gpios(&num); chromeos_acpi_gpio_generate(gpios, num); } - -int tis_plat_irq_status(void) -{ - return acpi_get_gpe(GPE0_DW2_00); -} -- cgit v1.2.3