diff options
Diffstat (limited to 'src/soc/amd/cezanne/gpio.c')
-rw-r--r-- | src/soc/amd/cezanne/gpio.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/amd/cezanne/gpio.c b/src/soc/amd/cezanne/gpio.c index e1f504639d..f2a59e0497 100644 --- a/src/soc/amd/cezanne/gpio.c +++ b/src/soc/amd/cezanne/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> /* see the IOMUX function table for the mapping from GPIO number to GEVENT number */ @@ -40,10 +37,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); -} |