[U-Boot] [PATCH v2 5/9] dfu: tftp: update: Add dfu_write_from_mem_addr() function
Joe Hershberger
joe.hershberger at gmail.com
Fri Aug 7 23:32:04 CEST 2015
Hi Lukasz,
On Sat, Jul 25, 2015 at 3:11 AM, Lukasz Majewski <l.majewski at majess.pl> wrote:
> 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 at majess.pl>
> ---
> Changes for v2:
> - Use min() macro instead of comparison
> - Change definition of left variable to be unsigned long - this allowed
> safe usage of min() macro
> ---
Address Simon's nits and then,
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot
mailing list