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

Marek Vasut marex at denx.de
Tue Oct 26 00:34:31 CEST 2021


On 10/26/21 12:21 AM, Tom Rini wrote:
> On Tue, Oct 26, 2021 at 12:18:55AM +0200, Marek Vasut wrote:
>> 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
> 
> And based on the final comment there, v2 can be ignored?

No, they are slightly different things. The DFU SF does not require MTD 
support, like DFU MTD does, so DFU SF is smaller in size.


More information about the U-Boot mailing list