
On 8 February 2017 at 06:02, Simon Glass sjg@chromium.org wrote:
On 12 January 2017 at 14:59, 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
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@chromium.org
Actually I'll pick up the v2 patch.
- Simon