dfu: mmc: add support for in-partition offset
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 2 Oct 2019 10:34:37 +0000 (12:34 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 31 Oct 2019 11:12:31 +0000 (12:12 +0100)
commitd2d8eab42118f8c25e8562495438c903893b83fd
tree4edded55f0e45ef19003c0c83e2a7d511548f249
parent909338c345812bf9a57780dc09caafded237a036
dfu: mmc: add support for in-partition offset

Add possibility to define a part of partition as a separate DFU entity.
This allows to have more than one items on the given partition.

The real use case for this option is TM2 board. It can use u-boot stored
as Linux kernel on the defined partition (as RAW data) and load the real
kernel from the same partition, but stored under the certain offset.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
drivers/dfu/dfu_mmc.c