
8 Feb
2017
8 Feb
'17
6:42 p.m.
On 8 February 2017 at 06:04, Simon Glass sjg@chromium.org wrote:
On 20 January 2017 at 13:35, Moritz Fischer moritz.fischer@ettus.com wrote:
Add support for version 3 of the ec protocol. It basically works by stitching some additional header in front (special command code), and having a result and packet_length stitched on for the reply.
Signed-off-by: Moritz Fischer moritz.fischer@ettus.com Cc: Simon Glass sjg@chromium.org Cc: u-boot@lists.denx.de
Changes from v1:
- Early return in case i2c xfer fails
Thanks, Moritz
drivers/misc/cros_ec_i2c.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+)
Acked-by: Simon Glass sjg@chromium.org Tested on snow: Tested-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!