X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fdfu%2FKconfig;h=51ab484c2a4953194b3d36e59e262ad24048eba1;hb=dc36235abe408cf450daa7b06d612084119dd841;hp=56a98f5273cea7103e30dcce6f8ceef56055a575;hpb=40e1236afeeacdadfa3865f70fc7e3b8016acbe2;p=u-boot diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig index 56a98f5273..51ab484c2a 100644 --- a/drivers/dfu/Kconfig +++ b/drivers/dfu/Kconfig @@ -1,11 +1,22 @@ menu "DFU support" -config USB_FUNCTION_DFU +config DFU bool + imply DFU_OVER_USB if USB_GADGET -if CMD_DFU +config DFU_OVER_USB + bool + select HASH + depends on USB_GADGET + +config DFU_OVER_TFTP + bool + depends on NET + +if DFU config DFU_TFTP bool "DFU via TFTP" + select DFU_OVER_TFTP help This option allows performing update of DFU-managed medium with data sent via TFTP boot.