summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2017-08-16 11:00:54 -0700
committerStefano Babic <[email protected]>2017-08-23 10:41:58 +0200
commita3774c1c3c28e4ed89a36383ca73970b809bae94 (patch)
tree70ac6a2501b2522fcbde3491d51fae4bd0e595ba /drivers
parent2f005695df7b03d25a367f6bedc41c015088ee29 (diff)
spl: add serial download protocol (SDP) support
Add USB serial download protocol support to SPL. If the SoC started in recovery mode the SPL will immediately switch to SDP and wait for further downloads/commands from the host side. Signed-off-by: Stefan Agner <[email protected]> Reviewed-by: Stefano Babic <[email protected]> Reviewed-by: Ɓukasz Majewski <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index 6a007d1bcb6..7258099c1cf 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -11,6 +11,7 @@ obj-$(CONFIG_USB_ETHER) += epautoconf.o config.o usbstring.o
ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += g_dnl.o
obj-$(CONFIG_SPL_DFU_SUPPORT) += f_dfu.o
+obj-$(CONFIG_SPL_USB_SDP_SUPPORT) += f_sdp.o
endif
# new USB gadget layer dependencies