[PATCH] dfu: dfu_sf: Add support for multiple flashes

Tom Rini trini at konsulko.com
Tue Oct 26 00:12:50 CEST 2021


On Tue, Sep 14, 2021 at 05:27:51AM +0200, Marek Vasut wrote:

> Add dfu_alt_info option which allows specifying multiple SPI flashes
> as an alt info. The syntax is as follows:
> 
> altname sf bus:cs[:speed[:mode]]
> 
> Example:
> dfu_alt_info=qspi0 sf 0:0;qspi1 sf 0:1
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Lukasz Majewski <lukma at denx.de>
> Reviewed-by: Lukasz Majewski <lukma at denx.de>

This breaks support for:
dfu_alt_info=sf 0:0=u-boot-bin raw 0x100000 0x50000;u-boot-env raw 0x150000 0x20 0000

as used in the eficapsule update tests.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211025/b3810d4a/attachment.sig>


More information about the U-Boot mailing list