diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-04-11 10:01:38 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-11 11:29:38 -0700 |
commit | 08f8c6857f28a71ca549a9d490717a6d44517c75 (patch) | |
tree | 17b243a454aa840e0dcbaf2a2ecf4a51d4a5ca46 /util/ectool.c | |
parent | 4adcb45f2c067292b470a1c9506968e8cf7ac23a (diff) | |
download | chrome-ec-08f8c6857f28a71ca549a9d490717a6d44517c75.tar.gz |
Strip out old LPC command protocol
Nothing has used this since link EVT, so it's just dead code at this point.
BUG=chrome-os-partner:13213
BRANCH=none
TEST=manual
- Update ectool but leave old firmware
- ectool version -> works
- ectool flashread 0 0x10000 foo -> puts the first 64KB of EC flash into foo
- Update firmware
- ectool version -> works
- ectool flashread 0 0x10000 foo -> puts the first 64KB of EC flash into foo
- power+esc+refresh -> recovery mode
Change-Id: Ib25a705bcd8280d5295c8e7890969d796542b6c9
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47866
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'util/ectool.c')
-rw-r--r-- | util/ectool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c index 09166b4ae3..b1115aefcd 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -478,7 +478,7 @@ int cmd_flash_info(int argc, char *argv[]) int cmd_flash_read(int argc, char *argv[]) { struct ec_params_flash_read p; - uint8_t rdata[EC_OLD_PARAM_SIZE]; + uint8_t rdata[EC_HOST_PARAM_SIZE]; int offset, size; int rv; int i; |