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

Marek Vasut marex at denx.de
Tue Oct 26 00:18:55 CEST 2021


On 10/26/21 12:12 AM, Tom Rini wrote:
> 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.

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


More information about the U-Boot mailing list