diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-08-30 14:00:48 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-08-30 17:29:24 -0700 |
commit | 60d57a81623b1189231c83cd1b914d77b022f1ad (patch) | |
tree | 98bd2408a39b41ae22bcf73ebcecc62beaab3efb /board/bds | |
parent | 9d8f4c40be067b9dd18377beaf14bca72f0d8c1b (diff) | |
download | chrome-ec-60d57a81623b1189231c83cd1b914d77b022f1ad.tar.gz |
Snow must assert ENTERING_RW GPIO when jumping between images
BUG=chrome-os-partner:13439
BRANCH=snow
TEST=manual
1. Ctrl+Refresh+Esc; should go to INSERT screen
2. Ctrl+D; should show TODEV (this confirms it's still possible to get into
dev mode the right way)
3. From EC console, 'sysjump rw'
4. Ctrl+D; should NOT show TODEV (this confirms the bug is fixed)
Change-Id: Ic4879cb0a7fc47527eac1a5a727f3225744ff880
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/31932
Diffstat (limited to 'board/bds')
-rw-r--r-- | board/bds/board.c | 1 | ||||
-rw-r--r-- | board/bds/board.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/bds/board.c b/board/bds/board.c index 50c4a079e9..04e3d56c67 100644 --- a/board/bds/board.c +++ b/board/bds/board.c @@ -44,6 +44,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { {"DEBUG_LED", LM4_GPIO_A, (1<<7), GPIO_OUT_LOW, NULL}, /* Unimplemented signals which we need to emulate for now */ GPIO_SIGNAL_NOT_IMPLEMENTED("WRITE_PROTECT"), + GPIO_SIGNAL_NOT_IMPLEMENTED("ENTERING_RW"), }; diff --git a/board/bds/board.h b/board/bds/board.h index d26a79f7ef..452b4558b2 100644 --- a/board/bds/board.h +++ b/board/bds/board.h @@ -38,6 +38,7 @@ enum gpio_signal { /* Signals which aren't implemented on BDS but we'll emulate anyway, to * make it more convenient to debug other code. */ GPIO_WRITE_PROTECT, /* Write protect input */ + GPIO_ENTERING_RW, /* EC entering RW code */ /* Number of GPIOs; not an actual GPIO */ GPIO_COUNT |