spl: add serial download protocol (SDP) support
authorStefan Agner <stefan.agner@toradex.com>
Wed, 16 Aug 2017 18:00:54 +0000 (11:00 -0700)
committerStefano Babic <sbabic@denx.de>
Wed, 23 Aug 2017 08:41:58 +0000 (10:41 +0200)
commita3774c1c3c28e4ed89a36383ca73970b809bae94
tree70ac6a2501b2522fcbde3491d51fae4bd0e595ba
parent2f005695df7b03d25a367f6bedc41c015088ee29
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 <stefan.agner@toradex.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Ɓukasz Majewski <lukma@denx.de>
common/spl/Kconfig
common/spl/Makefile
common/spl/spl_sdp.c [new file with mode: 0644]
drivers/usb/gadget/Makefile