diff options
author | Simon Glass <sjg@chromium.org> | 2012-07-15 02:48:21 +0100 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-22 00:36:39 -0700 |
commit | 37a6387fa906e43115417c4a89069be043e2c554 (patch) | |
tree | d2f056cf887ef8383240b7f90a736a61199c70c0 /common/temp_sensor.c | |
parent | 949d525e2a4de87da034f7fd89c6cb0f04d8f1c4 (diff) | |
download | chrome-ec-37a6387fa906e43115417c4a89069be043e2c554.tar.gz |
i2c: Move host command processing into a function
We are about to add more logic here, so move it this code out of
the event handler and into its own function.
BUG=chrome-os-partner:11317
TEST=manual and a bit ad-hoc:
(note, this testing is not completed yet)
Check that snow and link still process commands correctly over I2C
from U-Boot. At this stage only the old interface is supported.
SMDK5250 # mkbp test
Old interface:
New interface:
Version 0: ec_command() returned error
Test failed with error -1
SMDK5250 #
Change-Id: I5387eb5533ab6faa27769f4cf21075387357371d
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/27469
Diffstat (limited to 'common/temp_sensor.c')
0 files changed, 0 insertions, 0 deletions