diff options
| author | Marek Vasut <[email protected]> | 2018-02-16 16:41:18 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2018-02-21 20:28:15 +0100 |
| commit | bb4059a53bc13615f12b5e21252872bf7e02dce4 (patch) | |
| tree | f393e897b998b94f3dd085d7ade5feff459ce497 /drivers | |
| parent | 0f44d33536a50ef65259c322fa2d4a058585caf9 (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/Kconfig | 8 | ||||
| -rw-r--r-- | drivers/usb/gadget/Makefile | 2 |
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 |
