From: Kever Yang <kever.yang@rock-chips.com>
To: Eugen Hristev <eugen.hristev@collabora.com>, u-boot@lists.denx.de
Cc: marex@denx.de, jonas@kwiboo.se, jagan@edgeble.ai, kernel@collabora.com
Subject: Re: [PATCH v2 07/10] ARM: mach-rockchip: spl-boot-order: add possibility to DFU
Date: Sat, 12 Aug 2023 10:52:10 +0800 [thread overview]
Message-ID: <c24675c8-876b-6e11-562d-e57b567136eb@rock-chips.com> (raw)
In-Reply-To: <20230801072811.10354-8-eugen.hristev@collabora.com>
On 2023/8/1 15:28, Eugen Hristev wrote:
> Add DFU as a possible SPL boot media if the boot device is a
> gadget device.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Thanks,
- Kever
> ---
> arch/arm/mach-rockchip/spl-boot-order.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c
> index 93b8e7de4d0d..89bbe449e86c 100644
> --- a/arch/arm/mach-rockchip/spl-boot-order.c
> +++ b/arch/arm/mach-rockchip/spl-boot-order.c
> @@ -66,6 +66,9 @@ static int spl_node_to_boot_device(int node)
> } else if (!uclass_get_device_by_of_offset(UCLASS_SPI_FLASH, node,
> &parent)) {
> return BOOT_DEVICE_SPI;
> + } else if (!uclass_get_device_by_of_offset(UCLASS_USB_GADGET_GENERIC,
> + node, &parent)) {
> + return BOOT_DEVICE_DFU;
> }
>
> /*
next prev parent reply other threads:[~2023-08-12 2:52 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-01 7:28 [PATCH v2 00/10] rockchip: rk3588: add support for DFU in SPL Eugen Hristev
2023-08-01 7:28 ` [PATCH v2 01/10] rockchip: allow env defines for SPL build Eugen Hristev
2023-08-12 2:45 ` Kever Yang
2023-08-01 7:28 ` [PATCH v2 02/10] usb: dwc3: core: improve reset sequence Eugen Hristev
2023-08-01 11:44 ` Marek Vasut
2023-08-01 7:28 ` [PATCH v2 03/10] usb: dwc3: gadget: Don't send unintended link state change Eugen Hristev
2023-08-01 11:44 ` Marek Vasut
2023-08-01 7:28 ` [PATCH v2 04/10] usb: dwc3: core: Only handle soft-reset in DCTL Eugen Hristev
2023-08-01 11:44 ` Marek Vasut
2023-08-01 7:28 ` [PATCH v2 05/10] usb: dwc3: Increase DWC3 controller halt timeout Eugen Hristev
2023-08-01 11:44 ` Marek Vasut
2023-08-01 7:28 ` [PATCH v2 06/10] ARM: dts: rockchip: rk3588-rock-5b-u-boot: add bootph-all to gadget nodes Eugen Hristev
2023-08-12 2:53 ` Kever Yang
2023-08-13 6:59 ` Eugen Hristev
2023-08-01 7:28 ` [PATCH v2 07/10] ARM: mach-rockchip: spl-boot-order: add possibility to DFU Eugen Hristev
2023-08-12 2:52 ` Kever Yang [this message]
2023-08-01 7:28 ` [PATCH v2 08/10] ARM: mach-rockchip: rk3588: add gadget device to the boot order Eugen Hristev
2023-08-01 7:28 ` [PATCH v2 09/10] rockchip: rk3588: prepare env for DFU Eugen Hristev
2023-08-01 7:28 ` [PATCH v2 10/10] configs: rockchip: rock5b-rk3588: enable DFU and related configs Eugen Hristev
2023-08-12 2:53 ` Kever Yang
2023-09-21 14:47 ` [PATCH v2 00/10] rockchip: rk3588: add support for DFU in SPL Eugen Hristev
2023-09-22 0:48 ` Kever Yang
2023-09-22 9:57 ` Eugen Hristev
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=c24675c8-876b-6e11-562d-e57b567136eb@rock-chips.com \
--to=kever.yang@rock-chips.com \
--cc=eugen.hristev@collabora.com \
--cc=jagan@edgeble.ai \
--cc=jonas@kwiboo.se \
--cc=kernel@collabora.com \
--cc=marex@denx.de \
--cc=u-boot@lists.denx.de \
/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