diff options
author | B, Ravi <ravibabu@ti.com> | 2016-07-28 15:09:15 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-09-28 00:30:18 +0300 |
commit | 05341a87646aceac90a63624fbd5fa620f8dc263 (patch) | |
tree | 18703766f5930a3d0526e4c75877c0add4cf3d22 /common/Makefile | |
parent | bc5dbcb91813a429d168de58b37cb5b291d7be75 (diff) | |
download | u-boot-05341a87646aceac90a63624fbd5fa620f8dc263.tar.xz |
common: dfu: saperate the dfu common functionality
The cmd_dfu functionality is been used by both SPL and
u-boot, saperating the core dfu functionality moving
it to common/dfu.c.
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index 6b4456edff..ecc23e6fd3 100644 --- a/common/Makefile +++ b/common/Makefile @@ -89,6 +89,7 @@ obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o endif # !CONFIG_SPL_BUILD ifdef CONFIG_SPL_BUILD +obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu.o obj-$(CONFIG_SPL_DFU_SUPPORT) += cli_hush.o obj-$(CONFIG_SPL_HASH_SUPPORT) += hash.o obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o @@ -172,6 +173,7 @@ obj-$(CONFIG_CMDLINE) += cli_simple.o obj-y += cli.o obj-$(CONFIG_CMDLINE) += cli_readline.o +obj-$(CONFIG_CMD_DFU) += dfu.o obj-y += command.o obj-y += s_record.o obj-y += xyzModem.o |