]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu: dfu_sf: Read the SPI flash in 16 MiB chunks
authorMarek Vasut <marex@denx.de>
Tue, 14 Sep 2021 03:26:51 +0000 (05:26 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 25 Oct 2021 22:13:12 +0000 (18:13 -0400)
commitca341e98c8273e2ee74c489d6274740824c7b239
treee414daf1db351b5857633b89ceb784a5e2eaf4c3
parent949eb228f3f807feb338d29e9c94d97c22fa98b6
dfu: dfu_sf: Read the SPI flash in 16 MiB chunks

Not all SPI flashes and controllers can do continuous transfer longer
than 16 MiB, so perform the DFU read in 16 MiB chunks.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/dfu/dfu_sf.c