Angel Pons | b5a2a52 | 2020-04-05 13:21:48 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Chris Ching | 97ab880 | 2018-02-06 10:28:49 -0700 | [diff] [blame] | 2 | |
Grzegorz Bernacki | 7758b47 | 2023-06-14 12:01:32 +0000 | [diff] [blame] | 3 | #include <drivers/tpm/cr50.h> |
Felix Held | 2cc2bd2 | 2022-12-06 21:34:41 +0100 | [diff] [blame] | 4 | #include <gpio.h> |
Chris Ching | 97ab880 | 2018-02-06 10:28:49 -0700 | [diff] [blame] | 5 | #include <variant/gpio.h> |
6 | |||||
Grzegorz Bernacki | 7758b47 | 2023-06-14 12:01:32 +0000 | [diff] [blame] | 7 | int cr50_plat_irq_status(void) |
Chris Ching | 97ab880 | 2018-02-06 10:28:49 -0700 | [diff] [blame] | 8 | { |
Furquan Shaikh | ee68b88 | 2020-07-02 13:47:43 -0700 | [diff] [blame] | 9 | return gpio_interrupt_status(GPIO_9); |
Chris Ching | 97ab880 | 2018-02-06 10:28:49 -0700 | [diff] [blame] | 10 | } |