]> git.baikalelectronics.ru Git - uboot.git/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)
commitd16784df09c0118aa91365da970b134a1964bb4c
tree3e289ee22977fe46f9faa7150d133ce7992be7bf
parent94bf6bf4dfba091e27143d1474dc4a1ca839150b
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]