commit | 8af74edc30bb60a90a5c4d2769ff3129b187796e | [log] [tgz] |
---|---|---|
author | Álvaro Fernández Rojas <noltari@gmail.com> | Tue Jan 23 17:14:56 2018 +0100 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Wed Jan 24 12:03:43 2018 +0530 |
tree | f946f505c9b5ec34b4543951124cb3d4d2ca2678 | |
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>