]> git.baikalelectronics.ru Git - uboot.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)
commit0f6d4cea6e78ba6cbe2557a8c77fd00635a6fc78
treee414daf1db351b5857633b89ceb784a5e2eaf4c3
parent6b8640fec37f425b27d40e718245d061f118a8fb
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