From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 19 May 2017 20:29:11 -0600 Subject: [U-Boot] [PATCH 01/10] drivers: spi: allow limiting reads In-Reply-To: <1495135788-9152-2-git-send-email-noltari@gmail.com> References: <1495135788-9152-1-git-send-email-noltari@gmail.com> <1495135788-9152-2-git-send-email-noltari@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 18 May 2017 at 13:29, Álvaro Fernández Rojas wrote: > 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 > --- > drivers/mtd/spi/spi_flash.c | 3 +++ > include/spi.h | 3 +++ > 2 files changed, 6 insertions(+) Reviewed-by: Simon Glass