Skip to content
Snippets Groups Projects
Commit d5640f70 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Marek Vasut
Browse files

dfu: add partition support for MTD backend


Add the support of MTD partition for the MTD backend.

The expected dfu_alt_info for one alternate on the mtd device :
	<name> part <part_id>
        <name> partubi <part_id>

"partubi" also erase up to the end of the partition after write operation.

For example: dfu_alt_info = "spl part 1;u-boot part 2; UBI partubi 3"

U-Boot> dfu 0 mtd nand0

Acked-by: default avatarLukasz Majewski <lukma@denx.de>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 6015af28
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment