diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-07-02 11:25:22 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-03 18:23:09 -0700 |
commit | 5f30f40cb5a83bc900ce3400d6a5f3327bc96fdc (patch) | |
tree | e16e8104d83f9f3cc61e9212bd544aa85d5308a3 /util/comm-dev.c | |
parent | 1b9a0ade1604b5ed9c6677eaef835014e2b55e3e (diff) | |
download | chrome-ec-5f30f40cb5a83bc900ce3400d6a5f3327bc96fdc.tar.gz |
Move protocol v2 constants to ec_commands.h
These constants are scattered around the various interface
implementations and should be in one place. This will also clean up
the u-boot side when ec_commands.h is copied there.
BUG=chrome-os-partner:20257
BRANCH=none
TEST=build link, spring, pit; test 'ectool hello'
Change-Id: Ib1425db00ec8220538d8c5c65107ac9548009516
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/60810
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'util/comm-dev.c')
-rw-r--r-- | util/comm-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/comm-dev.c b/util/comm-dev.c index c6bd6b4176..fb5fb31ae6 100644 --- a/util/comm-dev.c +++ b/util/comm-dev.c @@ -110,7 +110,7 @@ int comm_init_dev(void) * TODO: need a way to get this from the driver and EC. For now, * pick a magic lowest common denominator value. */ - ec_max_outsize = EC_HOST_PARAM_SIZE - 8; + ec_max_outsize = EC_PROTO2_MAX_PARAM_SIZE - 8; return 0; } |