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

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


On 12 January 2017 at 14:59, 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
> ---
> Hi Simon,
>
> I tested this on a v3 EC, but again as for the previous patch,
> I do not have a v2 EC to test with. I'm not perfectly happy with the memmove
> back and forth, so if you have a better solution for that I'm all ears.
>
> Thanks,
> Moritz
>
> ---
>  drivers/misc/cros_ec_i2c.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 84 insertions(+)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list