summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/poppy/chromeos.c')
-rw-r--r--src/mainboard/google/poppy/chromeos.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/chromeos.c b/src/mainboard/google/poppy/chromeos.c
index 8004d7bd8d..b7877aadf3 100644
--- a/src/mainboard/google/poppy/chromeos.c
+++ b/src/mainboard/google/poppy/chromeos.c
@@ -13,9 +13,12 @@
* GNU General Public License for more details.
*/
+#include <arch/acpi.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 "gpio.h"
@@ -53,3 +56,8 @@ void mainboard_chromeos_acpi_generate(void)
{
chromeos_acpi_gpio_generate(cros_gpios, ARRAY_SIZE(cros_gpios));
}
+
+int tis_plat_irq_status(void)
+{
+ return acpi_get_gpe(GPE0_DW2_00);
+}