diff options
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/gpio.h b/include/gpio.h index 093d1566f2..3f76d43bfd 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -201,4 +201,20 @@ void gpio_set_flags_by_mask(uint32_t port, uint32_t mask, uint32_t flags); */ void gpio_set_alternate_function(uint32_t port, uint32_t mask, int func); +/** + * Return true if the EC is warm booting. + * + * This function is used by the GPIO implementation and should not be called + * outside of that context. + */ +int gpio_is_reboot_warm(void); + +/** + * Enable GPIO peripheral clocks. + * + * This function is used by the GPIO implementation and should not be called + * outside of that context. + */ +void gpio_enable_clocks(void); + #endif /* __CROS_EC_GPIO_H */ |