From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Sun, 4 Jun 2017 11:08:14 +0200 Subject: [U-Boot] [PATCH v3 02/10] drivers: spi: consider command bytes when sending transfers In-Reply-To: <1496483865-25782-3-git-send-email-noltari@gmail.com> References: <1495135788-9152-1-git-send-email-noltari@gmail.com> <1496483865-25782-1-git-send-email-noltari@gmail.com> <1496483865-25782-3-git-send-email-noltari@gmail.com> Message-ID: <570227d1-2362-4364-a362-841aa564fe2a@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass Reviewed-by: Daniel Schwierzeck > --- > 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: