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

Daniel Schwierzeck
2017-06-04T09:08:14Z

Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas:
> 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>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

> ---
> v3: Fix bug introduced in v2: sizeof(cmd) vs len
> 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(-)
>

--
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170604/2f96583e/attachment.sig>