diff options
author | David Hendricks <dhendrix@chromium.org> | 2012-09-05 13:43:04 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-09-05 14:38:12 -0700 |
commit | 67170283788b9265f69c9768f7a5179157bc4074 (patch) | |
tree | 2107cf3a17223c7b41cc4e38e508a6a9f2662a41 | |
parent | 95aa023645ebc5a86e69cc9c870a850af2bf1dc8 (diff) | |
download | chrome-ec-67170283788b9265f69c9768f7a5179157bc4074.tar.gz |
stm32l: Add stub for gpio_set_flags()
This is just to get around compilation failures caused in shared
stm32f/l code.
BRANCH=snow
BUG=none
TEST=compiled ec-utils for daisy
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: I0f6e984ce22ae6f71d47053d801f1c62af54a45b
Reviewed-on: https://gerrit.chromium.org/gerrit/32262
Commit-Ready: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
-rw-r--r-- | chip/stm32/gpio-stm32l15x.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chip/stm32/gpio-stm32l15x.c b/chip/stm32/gpio-stm32l15x.c index cb5f17a1d4..fcf2a66e13 100644 --- a/chip/stm32/gpio-stm32l15x.c +++ b/chip/stm32/gpio-stm32l15x.c @@ -20,6 +20,15 @@ /* For each EXTI bit, record which GPIO entry is using it */ static const struct gpio_info *exti_events[16]; +int gpio_set_flags(enum gpio_signal signal, int flags) +{ + /* + * TODO(dhendrix): Move GPIO setup code from gpio_pre_init + * into here like we did for STM32F + */ + return EC_ERROR_UNIMPLEMENTED; +} + int gpio_pre_init(void) { const struct gpio_info *g = gpio_list; |