summaryrefslogtreecommitdiff
path: root/include/spi.h
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2018-01-23 17:14:57 +0100
committerJagan Teki <jagan@amarulasolutions.com>2018-01-24 12:03:43 +0530
commit6c94bd12c4adca45033ef89daafa66fbfc9acd17 (patch)
tree2ea111f5aec70ff4e3ee245b6f65baa6711bfa35 /include/spi.h
parent8af74edc30bb60a90a5c4d2769ff3129b187796e (diff)
downloadu-boot-6c94bd12c4adca45033ef89daafa66fbfc9acd17.tar.gz
u-boot-6c94bd12c4adca45033ef89daafa66fbfc9acd17.tar.bz2
u-boot-6c94bd12c4adca45033ef89daafa66fbfc9acd17.zip
drivers: spi: consider command bytes when sending transfers
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> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spi.h b/include/spi.h
index 4787454e59..5a7df1c706 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -89,7 +89,7 @@ struct dm_spi_slave_platdata {
* @max_read_size: If non-zero, the maximum number of bytes which can
* be read at once.
* @max_write_size: If non-zero, the maximum number of bytes which can
- * be written at once, excluding command bytes.
+ * be written at once.
* @memory_map: Address of read-only SPI flash access.
* @flags: Indication of SPI flags.
*/