Angel Pons | 0612b27 | 2020-04-05 15:46:56 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Aaron Durbin | 9d9a121 | 2017-04-19 10:02:27 -0500 | [diff] [blame] | 2 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 3 | #include <acpi/acpi.h> |
Grzegorz Bernacki | 7758b47 | 2023-06-14 12:01:32 +0000 | [diff] [blame] | 4 | #include <drivers/tpm/cr50.h> |
Aaron Durbin | 9d9a121 | 2017-04-19 10:02:27 -0500 | [diff] [blame] | 5 | |
Grzegorz Bernacki | 7758b47 | 2023-06-14 12:01:32 +0000 | [diff] [blame] | 6 | int cr50_plat_irq_status(void) |
Aaron Durbin | 9d9a121 | 2017-04-19 10:02:27 -0500 | [diff] [blame] | 7 | { |
8 | return acpi_get_gpe(CONFIG_TPM_TIS_ACPI_INTERRUPT); | ||||
9 | } |