summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2018-02-16 16:41:18 +0100
committerMarek Vasut <[email protected]>2018-02-21 20:28:15 +0100
commitbb4059a53bc13615f12b5e21252872bf7e02dce4 (patch)
treef393e897b998b94f3dd085d7ade5feff459ce497 /drivers
parent0f44d33536a50ef65259c322fa2d4a058585caf9 (diff)
dfu: Rename _FUNCTION_DFU to DFU_OVER_
Do the following to make the symbol names less confusing. sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \ `git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u` Signed-off-by: Marek Vasut <[email protected]> Cc: Lukasz Majewski <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dfu/Kconfig8
-rw-r--r--drivers/usb/gadget/Makefile2
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index b077444059a..51ab484c2a4 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -2,21 +2,21 @@ menu "DFU support"
config DFU
bool
- imply USB_FUNCTION_DFU if USB_GADGET
+ imply DFU_OVER_USB if USB_GADGET
-config USB_FUNCTION_DFU
+config DFU_OVER_USB
bool
select HASH
depends on USB_GADGET
-config TFTP_FUNCTION_DFU
+config DFU_OVER_TFTP
bool
depends on NET
if DFU
config DFU_TFTP
bool "DFU via TFTP"
- select TFTP_FUNCTION_DFU
+ select DFU_OVER_TFTP
help
This option allows performing update of DFU-managed medium with data
sent via TFTP boot.
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index ee8bc994c54..748366fb9f0 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -26,7 +26,7 @@ obj-$(CONFIG_CI_UDC) += ci_udc.o
ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_USB_GADGET_DOWNLOAD) += g_dnl.o
obj-$(CONFIG_USB_FUNCTION_THOR) += f_thor.o
-obj-$(CONFIG_USB_FUNCTION_DFU) += f_dfu.o
+obj-$(CONFIG_DFU_OVER_USB) += f_dfu.o
obj-$(CONFIG_USB_FUNCTION_MASS_STORAGE) += f_mass_storage.o
obj-$(CONFIG_USB_FUNCTION_FASTBOOT) += f_fastboot.o
obj-$(CONFIG_USB_FUNCTION_SDP) += f_sdp.o