]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu:core: Find DFU alt setting number by passing its name
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 8 Oct 2013 12:30:38 +0000 (14:30 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 20 Oct 2013 21:42:40 +0000 (23:42 +0200)
commitfed936ed8004dd4972777aa29d882b7e88c6da7b
treecd8440891d35fa5999bbc47e0b43ed809f53deae
parent57ffabe37114fe67f5ffac5805b343e4e1979b57
dfu:core: Find DFU alt setting number by passing its name

New function - dfu_get_alt() - has been added to dfu core. If present, it
returns alt setting's number corresponding to passed name.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/dfu/dfu.c
include/dfu.h