diff options
author | Vic (Chun-Ju) Yang <victoryang@chromium.org> | 2013-11-05 18:50:10 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-11-21 04:30:55 +0000 |
commit | 14c7191b53607e46187cea6e95ebf869f3b85e2a (patch) | |
tree | 7eccaa37279665a6c67b46c9b43cd814bb34837c /include/gpio.h | |
parent | 5524ba7bf71b8ee520f3c8410b65b5bba07544c4 (diff) | |
download | chrome-ec-14c7191b53607e46187cea6e95ebf869f3b85e2a.tar.gz |
mec1322: initial commit
This is the initial commit of mec1322 support. This includes:
- Basic GPIO driver. Interrupt not supported yet.
- Microsecond timer
- UART driver
The script to pack the firmware binary will be checked in in
following-up CL.
BUG=chrome-os-partner:24107
TEST=Build and boot on eval board
BRANCH=None
Change-Id: I9013c908049d1f740f84bb56abca51b779f39eef
Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175716
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/gpio.h b/include/gpio.h index fc46e995ce..6b1f80fe99 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -71,11 +71,7 @@ struct gpio_info { extern const struct gpio_info gpio_list[]; /* 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 +#define GPIO_SIGNAL_NOT_IMPLEMENTED(name) {name, DUMMY_GPIO_BANK, 0, 0, NULL} /* GPIO alternate function structure, for use by board.c */ struct gpio_alt_func { |