summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@majess.pl>2015-08-24 00:21:47 +0200
committerMarek Vasut <marex@denx.de>2015-09-07 13:41:05 +0200
commitc7ff5528439af8f1e6e10424e495eb7d6238d6c5 (patch)
tree81ac1c72bc7f753efd96bd49236a4b2636e48d73 /common/Makefile
parent2092e4610485618ec7a676ff8e6d297ea9dca3d5 (diff)
downloadblackbird-obmc-uboot-c7ff5528439af8f1e6e10424e495eb7d6238d6c5.tar.gz
blackbird-obmc-uboot-c7ff5528439af8f1e6e10424e495eb7d6238d6c5.zip
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>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index f4ba8782f5..556fb07592 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -210,6 +210,7 @@ obj-$(CONFIG_LYNXKDI) += lynxkdi.o
obj-$(CONFIG_MENU) += menu.o
obj-$(CONFIG_MODEM_SUPPORT) += modem.o
obj-$(CONFIG_UPDATE_TFTP) += update.o
+obj-$(CONFIG_DFU_TFTP) += update.o
obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o
obj-$(CONFIG_CMD_DFU) += cmd_dfu.o
obj-$(CONFIG_CMD_GPT) += cmd_gpt.o
OpenPOWER on IntegriCloud