]> git.sur5r.net Git - u-boot/commit
update: tftp: dfu: Extend update_tftp() function to support DFU
authorLukasz Majewski <l.majewski@majess.pl>
Sun, 23 Aug 2015 22:21:47 +0000 (00:21 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 7 Sep 2015 11:41:05 +0000 (13:41 +0200)
commitc7ff5528439af8f1e6e10424e495eb7d6238d6c5
tree81ac1c72bc7f753efd96bd49236a4b2636e48d73
parent2092e4610485618ec7a676ff8e6d297ea9dca3d5
update: tftp: dfu: Extend update_tftp() function to support DFU

This code allows using DFU defined mediums for storing data received via
TFTP protocol.

It reuses and preserves functionality of legacy code at common/update.c.

The update_tftp() function now accepts parameters - namely medium device
name and its number (e.g. mmc 1).

Without this information passed old behavior is preserved.

Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
common/Makefile
common/cmd_fitupd.c
common/main.c
common/update.c
include/net.h