]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu: tftp: update: Add dfu_write_from_mem_addr() function
authorLukasz Majewski <l.majewski@majess.pl>
Sun, 23 Aug 2015 22:21:46 +0000 (00:21 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 7 Sep 2015 11:41:04 +0000 (13:41 +0200)
commit2092e4610485618ec7a676ff8e6d297ea9dca3d5
treec7fad72d813461d3b7e548786ed9606441b39172
parent2d50d68a4ca1cce82899c9f0cfca17edf34bb254
dfu: tftp: update: Add dfu_write_from_mem_addr() function

This function allows writing via DFU data stored from fixed buffer address
(like e.g. loadaddr env variable).

Such predefined buffers are used in the update_tftp() code. In fact this
function is a wrapper on the dfu_write() and dfu_flush().

Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/dfu/dfu.c
include/dfu.h