All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@kernel.org>
To: "Alice Guo (OSS)" <alice.guo@oss.nxp.com>,
	Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>,
	Stefano Babic <sbabic@nabladev.com>,
	Fabio Estevam <festevam@gmail.com>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Alice Guo <alice.guo@nxp.com>, Lukasz Majewski <lukma@denx.de>,
	Mattijs Korpershoek <mkorpershoek@kernel.org>,
	Joe Hershberger <joe.hershberger@ni.com>,
	Ramon Fried <rfried.dev@gmail.com>
Cc: u-boot@lists.denx.de, Ye Li <ye.li@nxp.com>,
	Peng Fan <peng.fan@nxp.com>, Jacky Bai <ping.bai@nxp.com>
Subject: Re: [PATCH 05/10] usb: f_sdp: Update SDP driver to support PQC container
Date: Mon, 29 Sep 2025 10:51:23 +0200	[thread overview]
Message-ID: <877bxhk5f8.fsf@kernel.org> (raw)
In-Reply-To: <20250923-usbnetc-v1-5-507cddbe7214@oss.nxp.com>

Hi Alice,

Thank you for the patch.

On Tue, Sep 23, 2025 at 19:11, "Alice Guo (OSS)" <alice.guo@oss.nxp.com> wrote:

> From: Ye Li <ye.li@nxp.com>
>
> Since PQC container has changed version to 0x2 in container header,
> update the header's check.
>
> Signed-off-by: Ye Li <ye.li@nxp.com>
> Signed-off-by: Alice Guo <alice.guo@nxp.com>
> Acked-by: Peng Fan <peng.fan@nxp.com>
> Reviewed-by: Jacky Bai <ping.bai@nxp.com>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>

> ---
>  drivers/usb/gadget/f_sdp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/gadget/f_sdp.c b/drivers/usb/gadget/f_sdp.c
> index 647001d8dd0..f72e27028b7 100644
> --- a/drivers/usb/gadget/f_sdp.c
> +++ b/drivers/usb/gadget/f_sdp.c
> @@ -765,7 +765,7 @@ static ulong search_container_header(ulong p, int size)
>  
>  	for (i = 0; i < size; i += 4) {
>  		hdr = (u8 *)(p + i);
> -		if (*(hdr + 3) == 0x87 && *hdr == 0)
> +		if (*(hdr + 3) == 0x87 && (*hdr == 0 || *hdr == 2))
>  			if (*(hdr + 1) != 0 || *(hdr + 2) != 0)
>  				return p + i;
>  	}
>
> -- 
> 2.43.0

  reply	other threads:[~2025-09-29  8:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-23 11:11 [PATCH 00/10] Enable USB and ENETC on i.MX943 EVK Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 01/10] usb: ehci-mx6: Extend support to i.MX91, i.MX93, i.MX94, and i.MX95 Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 02/10] arm: arch-imx9: Add USB2.0 and USB3.0 base address definitions Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 03/10] imx943_evk: Enable USB 2.0 controller host mode Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 04/10] Add serial# for SPL SDP download Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 05/10] usb: f_sdp: Update SDP driver to support PQC container Alice Guo (OSS)
2025-09-29  8:51   ` Mattijs Korpershoek [this message]
2025-09-23 11:11 ` [PATCH 06/10] phy: imx8mq-usb: Add SPL support for i.MX8MQ, i.MX8MP, i.MX95, and i.MX94 USB3.0 PHY Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 07/10] imx943_evk: Add support for booting from USB SDP on USB3.0 Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 08/10] net: fsl_enetc: Add i.MX94 support to NETC block control driver Alice Guo (OSS)
2025-10-11  9:39   ` Ye Li
2025-09-23 11:11 ` [PATCH 09/10] net: fsl_enetc_mdio: Add support for phy-supply property Alice Guo (OSS)
2025-09-23 11:11 ` [PATCH 10/10] imx943_evk: Enable ENETC1 and ENETC2 Alice Guo (OSS)
2025-10-07 11:23 ` [PATCH 00/10] Enable USB and ENETC on i.MX943 EVK Fabio Estevam
2025-10-07 11:27   ` Marek Vasut
2025-10-09 22:42     ` Fabio Estevam
2025-10-10 14:22       ` Mattijs Korpershoek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877bxhk5f8.fsf@kernel.org \
    --to=mkorpershoek@kernel.org \
    --cc=alice.guo@nxp.com \
    --cc=alice.guo@oss.nxp.com \
    --cc=festevam@gmail.com \
    --cc=joe.hershberger@ni.com \
    --cc=lukma@denx.de \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=ping.bai@nxp.com \
    --cc=rfried.dev@gmail.com \
    --cc=sbabic@nabladev.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=ye.li@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.