summaryrefslogtreecommitdiff
path: root/common/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gpio.c')
-rw-r--r--common/gpio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/gpio.c b/common/gpio.c
index 69aae0572e..c59065a60c 100644
--- a/common/gpio.c
+++ b/common/gpio.c
@@ -218,4 +218,10 @@ int signal_is_gpio(int signal)
&& (signal < GPIO_SIGNAL_START + GPIO_COUNT));
}
+__attribute__((weak)) void gpio_set_wakepin(enum gpio_signal signal,
+ uint32_t flags)
+{
+ /* Some chips may need their own implementations */
+}
+
/*****************************************************************************/