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 <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/19371
Tested-by: build bot (Jenkins)
This commit is contained in:
Aaron Durbin 2017-04-19 10:12:47 -05:00
parent 9d9a121fa0
commit 3f98aadacd
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -17,9 +17,7 @@
#include <baseboard/variants.h>
#include <gpio.h>
#include <rules.h>
#include <soc/gpe.h>
#include <soc/gpio.h>
#include <tpm.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include <variant/gpio.h>
@ -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);
}