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 /chip/lm4/registers.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 'chip/lm4/registers.h')
-rw-r--r-- | chip/lm4/registers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/lm4/registers.h b/chip/lm4/registers.h index b87a7b55ec..8db3b2c71f 100644 --- a/chip/lm4/registers.h +++ b/chip/lm4/registers.h @@ -487,6 +487,8 @@ enum clock_gate_offsets { #define GPIO_P LM4_GPIO_P #define GPIO_Q LM4_GPIO_Q +#define DUMMY_GPIO_BANK GPIO_A + /* Value to write to LM4_GPIO_LOCK to unlock writes */ #define LM4_GPIO_LOCK_UNLOCK 0x4c4f434b |