public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Patrick DELAUNAY <patrick.delaunay@foss.st.com>
To: Patrice Chotard <patrice.chotard@foss.st.com>, <u-boot@lists.denx.de>
Cc: Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
	<uboot-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH v1 5/6] configs: stm32mp13: add support of usb boot
Date: Wed, 4 Oct 2023 11:57:06 +0200	[thread overview]
Message-ID: <fb1f4a63-40b5-e675-70a5-2b80e93f945a@foss.st.com> (raw)
In-Reply-To: <20230926150924.1150082-6-patrice.chotard@foss.st.com>

Hi,

On 9/26/23 17:09, Patrice Chotard wrote:
> From: Patrick Delaunay <patrick.delaunay@foss.st.com>
>
> Add support of USB key boot in distro boot command.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   include/configs/stm32mp13_common.h | 9 ++++++++-
>   1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/stm32mp13_common.h b/include/configs/stm32mp13_common.h
> index d36fbf00548..5b0658ced92 100644
> --- a/include/configs/stm32mp13_common.h
> +++ b/include/configs/stm32mp13_common.h
> @@ -35,9 +35,16 @@
>   #define BOOT_TARGET_MMC1(func)
>   #endif
>   
> +#ifdef CONFIG_CMD_USB
> +#define BOOT_TARGET_USB(func)	func(USB, usb, 0)
> +#else
> +#define BOOT_TARGET_USB(func)
> +#endif
> +
>   #define BOOT_TARGET_DEVICES(func)	\
>   	BOOT_TARGET_MMC1(func)		\
> -	BOOT_TARGET_MMC0(func)
> +	BOOT_TARGET_MMC0(func)		\
> +	BOOT_TARGET_USB(func)
>   
>   /*
>    * default bootcmd for stm32mp13:



Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick




  reply	other threads:[~2023-10-04  9:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26 15:09 [PATCH v1 0/6] stm32mp: DT and config update Patrice Chotard
2023-09-26 15:09 ` [PATCH v1 1/6] ARM: dts: stm32mp: alignment with v6.6-rc1 Patrice Chotard
2023-10-04  9:55   ` Patrick DELAUNAY
2023-10-04 11:39     ` Patrice CHOTARD
2023-09-26 15:09 ` [PATCH v1 2/6] ARM: dts: stm32: force b-session-valid for otg on stm32mp135f-dk board Patrice Chotard
2023-10-04  9:55   ` Patrick DELAUNAY
2023-10-04 11:39     ` Patrice CHOTARD
2023-09-26 15:09 ` [PATCH v1 3/6] configs: stm32mp13: Enable USB related flags Patrice Chotard
2023-10-04  9:56   ` Patrick DELAUNAY
2023-10-04 11:39     ` Patrice CHOTARD
2023-09-26 15:09 ` [PATCH v1 4/6] configs: stm32mp13: activate command stm32prog Patrice Chotard
2023-10-04  9:56   ` Patrick DELAUNAY
2023-10-04 11:39     ` Patrice CHOTARD
2023-09-26 15:09 ` [PATCH v1 5/6] configs: stm32mp13: add support of usb boot Patrice Chotard
2023-10-04  9:57   ` Patrick DELAUNAY [this message]
2023-10-04 11:39     ` Patrice CHOTARD
2023-09-26 15:09 ` [PATCH v1 6/6] board: st: common: cleanup dfu support Patrice Chotard
2023-10-04  9:57   ` Patrick DELAUNAY
2023-10-04 11:56     ` Patrice CHOTARD

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=fb1f4a63-40b5-e675-70a5-2b80e93f945a@foss.st.com \
    --to=patrick.delaunay@foss.st.com \
    --cc=fabrice.gasnier@foss.st.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox