diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-07-23 13:05:45 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-23 17:37:53 -0700 |
commit | cb1f7306b34507b3d9481cd4327271b2227747b8 (patch) | |
tree | a6862df1fbcfa4432743de4cd9ae0f1b64e3c344 /chip/stm32/gpio-stm32l.c | |
parent | a1699727a83758defb2e80deab59d34a18bfe581 (diff) | |
download | chrome-ec-cb1f7306b34507b3d9481cd4327271b2227747b8.tar.gz |
Clean up debug config options
All of these were defined on all but a few platforms, and those
explicitly #undef them. So define them as enabled by default in
config.h so the board.h files are cleaner.
No functional changes; just rearranging/renaming config constants.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all platforms; FEATURES=test emerge-falco chromeos-ec
Change-Id: I1201a1472ae29641e9e219c2a0347691ca64cd28
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/63102
Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'chip/stm32/gpio-stm32l.c')
-rw-r--r-- | chip/stm32/gpio-stm32l.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/stm32/gpio-stm32l.c b/chip/stm32/gpio-stm32l.c index 8f7a0fc5f0..5587625081 100644 --- a/chip/stm32/gpio-stm32l.c +++ b/chip/stm32/gpio-stm32l.c @@ -201,12 +201,10 @@ int gpio_enable_interrupt(enum gpio_signal signal) bit = 31 - __builtin_clz(g->mask); -#ifdef CONFIG_DEBUG if (exti_events[bit]) { CPRINTF("Overriding %s with %s on EXTI%d\n", exti_events[bit]->name, g->name, bit); } -#endif exti_events[bit] = g; group = bit / 4; |