diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2018-01-23 17:14:56 +0100 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-01-24 12:03:43 +0530 |
commit | 8af74edc30bb60a90a5c4d2769ff3129b187796e (patch) | |
tree | f946f505c9b5ec34b4543951124cb3d4d2ca2678 /drivers/mtd/spi/sf-uclass.c | |
parent | 48263504c8d501678acaa90c075f3f7cda17c316 (diff) |
drivers: spi: allow limiting reads
For some SPI controllers it's not possible to keep the CS active between
transfers and they are limited to a known number of bytes.
This splits spi_flash reads into different iterations in order to respect
the SPI controller limits.
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 'drivers/mtd/spi/sf-uclass.c')
0 files changed, 0 insertions, 0 deletions