summaryrefslogtreecommitdiff
path: root/include/gpio.h
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2016-03-02 09:00:43 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-03-02 20:26:20 -0800
commitfaa870945e5614fcc02c1e63459b93198a49fbd2 (patch)
treee249d297b83c617ef036d650a96e841c35871520 /include/gpio.h
parentbb0c3687e650415314284dabe6b00c1f5a6c42da (diff)
downloadchrome-ec-faa870945e5614fcc02c1e63459b93198a49fbd2.tar.gz
GPIO: Move STM32 specific gpio_enabled_clocks
This function should not be part of the public GPIO API. It is only available and used in the STM32 implementation. This moves the prototype to a chip specific gpio.h that is used within the STM32 chip directoy. Signed-off-by: Anton Staaf <robotboy@chromium.org> BRANCH=None BUG=None TEST=make buildall -j Manually verify GPIO functionality on discovery board Change-Id: If9c97f8038b26815318652ca62c1132c95519fa2 Reviewed-on: https://chromium-review.googlesource.com/329968 Commit-Ready: Anton Staaf <robotboy@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/gpio.h')
-rw-r--r--include/gpio.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/gpio.h b/include/gpio.h
index 7c0a4cad22..741f41f3d7 100644
--- a/include/gpio.h
+++ b/include/gpio.h
@@ -225,14 +225,6 @@ 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);
-/**
- * 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);
-
/* Optional board-level function to set hibernate GPIO states. */
void board_set_gpio_hibernate_state(void) __attribute__((weak));