diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-05-16 14:02:54 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-05-17 09:52:29 -0700 |
commit | 7d207c98e2a99accbd1ab1353d0a802f9a8be3de (patch) | |
tree | e64b7190a1f3141ab4f0da7a0a652bb6ab4f431e /board/daisy/board.c | |
parent | 6ff01d910a17900c58179809d49f30f921e72d8c (diff) | |
download | chrome-ec-7d207c98e2a99accbd1ab1353d0a802f9a8be3de.tar.gz |
Support write protect GPIO on pit
Daisy doesn't have a write protect signal, so emulate it as a fake
signal which is always low; this maintains the current behavior on
daisy.
BUG=chrome-os-partner:15613
BRANCH=none
TEST=flashinfo shows gpio not asserted
then short across the WP screw and flashinfo shows it asserted
Change-Id: I329424efe1c3b065976e17395e2bf9588cdce88c
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/51500
Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'board/daisy/board.c')
-rw-r--r-- | board/daisy/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/daisy/board.c b/board/daisy/board.c index 72f601abb1..777073cb77 100644 --- a/board/daisy/board.c +++ b/board/daisy/board.c @@ -94,6 +94,9 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { {"KB_OUT10", GPIO_C, (1<<5), GPIO_KB_OUTPUT, NULL}, {"KB_OUT11", GPIO_C, (1<<6), GPIO_KB_OUTPUT, NULL}, {"KB_OUT12", GPIO_C, (1<<7), GPIO_KB_OUTPUT, NULL}, + + /* Unimplemented signals which we need to emulate for now */ + GPIO_SIGNAL_NOT_IMPLEMENTED("WP_L"), }; /* I2C ports */ |