dfu: add dfu_write_by_alt()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 29 Oct 2020 04:47:52 +0000 (13:47 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 30 Oct 2020 13:20:27 +0000 (14:20 +0100)
commitf234566ef03db4be17fc36bb1a104a70512555f1
tree34c44514daa2432319bce1d87f41e05e02189111
parent6beaa47d4fe640392f1b7551dcf976fbb676d554
dfu: add dfu_write_by_alt()

This function is a variant of dfu_write_by_name() and takes a DFU alt
setting number for dfu configuration.

It will be utilised to implement UEFI capsule management protocol for
raw image in a later commit.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/dfu/dfu_alt.c
include/dfu.h