diff options
author | David Hendricks <dhendrix@chromium.org> | 2012-09-05 13:43:04 -0700 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2012-09-05 21:05:32 -0700 |
commit | 6565a95c21a52d1a7cdfbc0eab6c16cf2a062806 (patch) | |
tree | 1bc8e26b7311f92566ac5f4db95fc0729bc97233 | |
parent | 202f0a3b96bbc34dd0b0899f6fa1bae4d3e4d393 (diff) | |
download | chrome-ec-6565a95c21a52d1a7cdfbc0eab6c16cf2a062806.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>
Reviewed-on: https://gerrit.chromium.org/gerrit/32360
Reviewed-by: David Hendricks <dhendrix@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; |