diff options
author | Moritz Fischer | 2017-01-12 09:47:30 -0800 |
---|---|---|
committer | Simon Glass | 2017-02-08 06:07:13 -0700 |
commit | e9b25f2ea1ef24a648f07feeb3604888bdca43e0 (patch) | |
tree | 74fc5cc863b33283478d19f2299a223c5bfa365c /include/micrel.h | |
parent | 136026f18ed7bdfadc1af1696eced2b13af003d7 (diff) |
cros_ec: i2c: Group i2c write / read into single transaction
Replace dm_i2c_write() / dm_i2c_read() with transaction using
struct i2c_msg[2] in order to allow for i2c controller to detect
write/read cycle to emit a repeated start condition.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de
Acked-by: Simon Glass <sjg@chromium.org>
Tested on snow:
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/micrel.h')
0 files changed, 0 insertions, 0 deletions