summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/gpio.c')
-rw-r--r--src/soc/amd/picasso/gpio.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/amd/picasso/gpio.c b/src/soc/amd/picasso/gpio.c
index b7e1a45b9b..fe7d14b139 100644
--- a/src/soc/amd/picasso/gpio.c
+++ b/src/soc/amd/picasso/gpio.c
@@ -1,10 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/gpio_banks.h>
-#include <amdblocks/acpimmio.h>
-#include <amdblocks/smi.h>
#include <soc/gpio.h>
-#include <soc/smi.h>
#include <types.h>
static const struct soc_amd_event gpio_event_table[] = {
@@ -39,10 +36,3 @@ void soc_get_gpio_event_table(const struct soc_amd_event **table, size_t *items)
*table = gpio_event_table;
*items = ARRAY_SIZE(gpio_event_table);
}
-
-void soc_gpio_hook(uint8_t gpio, uint8_t mux)
-{
- /* Always program Gevent when WAKE_L_AGPIO2 is configured as WAKE_L */
- if ((gpio == 2) && !(mux & AMD_GPIO_MUX_MASK))
- soc_route_sci(GPIO_2_EVENT);
-}