[U-Boot] [PATCH] cros_ec: Fix issue with cros_ec_flash_write command
Moritz Fischer
moritz.fischer at ettus.com
Mon Sep 12 21:51:26 CEST 2016
Hi Simon,
On Mon, Sep 12, 2016 at 1:48 PM, Moritz Fischer
<moritz.fischer at ettus.com> wrote:
> - return ec_command_inptr(dev, EC_CMD_FLASH_WRITE, 0,
> - &p, sizeof(p), NULL, 0) >= 0 ? 0 : -1;
> + ret = ec_command_inptr(dev, EC_CMD_FLASH_WRITE, 1,
> + p, sizeof(*p) + size, NULL, 0) >= 0 ? 0 : -1;
This shouldn't touch the command version ... I'll resend v2 ... sorry
for the noise ...
Moritz
More information about the U-Boot
mailing list