From: Angus Ainslie Date: Thu, 01 Aug 2019 06:07:24 -0700 Subject: [U-Boot] =?utf-8?b?562U5aSNOiAgW1BBVENIIDAvNF0gTWFrZSBzb21lIGNo?= =?utf-8?q?anges_to_SDP?= In-Reply-To: References: <1563414056-20331-1-git-send-email-sherry.sun@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Sherry, On 2019-07-31 19:56, Sherry Sun wrote: > Hi Angus > >> >> Hi Sherry, >> >> On 2019-07-17 18:40, sherry sun wrote: >> > From: Sherry Sun >> > >> > 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. >> > >> > Sherry Sun (4): >> > imx: spl: Change USB boot device type >> > 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 >> >> These changes look like like they target SDP on imx8. For imx8mq is >> this all >> that is required to get SDP working with uuu or are there additional >> changes >> required ? >> > > The changes in patch 1/4 are target on both imx8 and imx8m. > The rest three patches are target on all boards which used SDP. > So for imx8mq, if your usb gadget driver is ready ,these changes are > enough to get SDP working with UUU. > I'm trying to use SDP on the imx8mq-evk but it doesn't look like it's enabled there. Do you have patches to enable SDP on the imx8mq-evk , even if they aren't ready to go upstream ? Thanks Angus > Best regards > Sherry sun > >> Thanks >> Angus >> >> > >> > arch/arm/mach-imx/spl.c | 2 +- >> > common/spl/spl_sdp.c | 4 ++++ >> > drivers/usb/gadget/Kconfig | 4 ++++ >> > drivers/usb/gadget/f_sdp.c | 39 >> > +++++++++++++++++++++++++++++++++----- >> > 4 files changed, 43 insertions(+), 6 deletions(-)