[U-Boot] [PATCH v4 0/4] Make some changes to SDP

Sherry Sun sherry.sun at nxp.com
Mon Aug 26 09:40:18 UTC 2019


Changes in v4:
 - Add SDP_USB_REQUEST_BUFLEN instead of magic number (65) in patch3/4.
 - Remove the unnecessary blank lines in patch3/4.

Changes in v3:
 - Add reviewed-by tag for patch2/4 and patch4/4 since this two have
 been reviewed in v1.

Changes in v2:
 - Update the commit log in patch 1/4.

This patchset adds:
1. Add usb_gadget_initialize() and usb_gadget_release() to initialize and
release UDC during sdp download.
2. Add high speed endpoint descriptor for sdp. 
3. Add a macro definition--CONFIG_SDP_LOADADDR as default sdp load
address while SDP_WRITE and SDP_JUMP command addr is zero.

The current patches have been validated on both i.MX8 and i.MX8M platform.

Sherry Sun (4):
  imx: spl: Change USB boot device type for imx8/8m
  SDP: use CONFIG_SDP_LOADADDR as default load address
  SDP: fix wrong usb request size and add high speed endpoint descriptor
  SDP: Call usb_gadget_initialize and usb_gadget_release to support UDC

 arch/arm/mach-imx/spl.c    |  2 +-
 common/spl/spl_sdp.c       |  4 ++++
 drivers/usb/gadget/Kconfig |  4 ++++
 drivers/usb/gadget/f_sdp.c | 43 +++++++++++++++++++++++++++++++++-----
 4 files changed, 47 insertions(+), 6 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list