[U-Boot] [PATCH v2] cros_ec: i2c: Add support for version 3 of the EC protocol

Simon Glass sjg at chromium.org
Wed Feb 8 13:04:52 UTC 2017


On 20 January 2017 at 13:35, Moritz Fischer <moritz.fischer at 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 at ettus.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: u-boot at 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 at chromium.org>
Tested on snow:
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list