diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-07-09 11:06:38 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-09 11:24:42 -0700 |
commit | 597adf62bd9771a7eb9719e71f7d070e92f5dcd9 (patch) | |
tree | f2eb9d5aa75e23f2cda5a7797c963145181ecb89 | |
parent | 03493a72db6ea5e12eda2a9488253d7fae6eec0b (diff) | |
download | chrome-ec-597adf62bd9771a7eb9719e71f7d070e92f5dcd9.tar.gz |
Fix EC_ENTERING_RW not being asserted
GPIO_ENTERING_RW is an enum, not a macro, so the #ifdef evaluated to false.
BUG=chrome-os-partner:20761
BRANCH=spring
TEST=compile on all platforms
Change-Id: I3f922c6f80fb9bfae173080f7d6c0e4f7c50ebc6
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/61300
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | common/system_common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/system_common.c b/common/system_common.c index 7d05eb355d..d77d82070e 100644 --- a/common/system_common.c +++ b/common/system_common.c @@ -302,9 +302,7 @@ static void jump_to_image(uint32_t init_addr) * EC is not in read-only firmware. (This is not technically true if * jumping from RO -> RO, but that's not a meaningful use case...) */ -#ifdef GPIO_ENTERING_RW gpio_set_level(GPIO_ENTERING_RW, 1); -#endif /* Flush UART output unless the UART hasn't been initialized yet */ if (uart_init_done()) |