[U-Boot] [PATCH v2 02/10] drivers: spi: consider command bytes when sending transfers

Simon Glass
2017-05-22T20:27:00Z

On 22 May 2017 at 12:21, Álvaro Fernández Rojas <noltari@gmail.com> wrote:
> Command bytes are part of the written bytes and they should be taken into
> account when sending a spi transfer.
>
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---
> v2: Introduce changes requested by Simon Glass:
> - Always include command bytes when determining max write size.
>
> drivers/mtd/spi/spi_flash.c | 2 +-
> include/spi.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>