]> git.sur5r.net Git - u-boot/commit
usb: gadget: add SDP driver
authorStefan Agner <stefan.agner@toradex.com>
Wed, 16 Aug 2017 18:00:51 +0000 (11:00 -0700)
committerStefano Babic <sbabic@denx.de>
Wed, 23 Aug 2017 08:41:58 +0000 (10:41 +0200)
commit5661f08a71446ab0ffb5bcf595709027e68f10fa
tree3e289ee22977fe46f9faa7150d133ce7992be7bf
parent4e76c0774a12873243b078a118d716928b884349
usb: gadget: add SDP driver

Add SDP (Serial Downloader Protocol) implementation for U-Boot. The
protocol is used in NXP SoC's boot ROM and allows to download program
images. Beside that, it can also be used to read/write registers and
download complete Device Configuration Data (DCD) sets. This basic
implementation supports downloading images with the imx header format
reading and writing registers.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Ɓukasz Majewski <lukma@denx.de>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile
drivers/usb/gadget/f_sdp.c [new file with mode: 0644]
include/sdp.h [new file with mode: 0644]