diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-03-19 16:40:23 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-20 17:42:04 -0700 |
commit | 447b05b8280d2dba9ec4c227e6cd0928e6065c26 (patch) | |
tree | 1bd9316aaeabee1a47f70dd8706c741cbf4aa488 /include/gpio.h | |
parent | 22ff9df91367d6b74ab08521a6fc0b7293c8eaf9 (diff) | |
download | chrome-ec-447b05b8280d2dba9ec4c227e6cd0928e6065c26.tar.gz |
Move asserting host keyboard interrupt signal to keyboard_scan
The implementation is identical on all stm32 hardware, so remove all
the duplicate copies from board.c files. mccrosskey doesn't have
GPIO_EC_INT so stub it out like we do on bds.
No functional change, just moving code.
BUG=none
BRANCH=none
TEST=build mccrosskey,daisy,snow,spring
Change-Id: I7d4378650d7b4c640c15180c41459a41620f5bd3
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45920
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpio.h b/include/gpio.h index 05470b3f1d..9dd97cb3aa 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -55,7 +55,11 @@ struct gpio_info { extern const struct gpio_info gpio_list[GPIO_COUNT]; /* Macro for signals which don't exist */ +#ifdef CHIP_lm4 #define GPIO_SIGNAL_NOT_IMPLEMENTED(name) {name, LM4_GPIO_A, 0, 0, NULL} +#else +#define GPIO_SIGNAL_NOT_IMPLEMENTED(name) {name, GPIO_A, 0, 0, NULL} +#endif /** * Pre-initialize GPIOs. |