* [PATCH] ti: j721e_evm: Add USB to the default boot order
@ 2023-01-25 23:09 Tom Rini
2023-02-07 16:49 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2023-01-25 23:09 UTC (permalink / raw)
To: u-boot
This family of platforms typically has a USB port, and so attempting to
boot from it, and making it first, will provide a better overall user
experience.
Signed-off-by: Tom Rini <trini@konsulko.com>
---
include/configs/j721e_evm.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index a7210b5cf3ae..48b1cea6e394 100644
--- a/include/configs/j721e_evm.h
+++ b/include/configs/j721e_evm.h
@@ -161,7 +161,14 @@
# define BOOT_TARGET_DHCP(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_USB(func) \
func(MMC, mmc, 1) \
func(MMC, mmc, 0) \
BOOT_TARGET_PXE(func) \
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ti: j721e_evm: Add USB to the default boot order
2023-01-25 23:09 [PATCH] ti: j721e_evm: Add USB to the default boot order Tom Rini
@ 2023-02-07 16:49 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2023-02-07 16:49 UTC (permalink / raw)
To: u-boot
[-- Attachment #1: Type: text/plain, Size: 325 bytes --]
On Wed, Jan 25, 2023 at 06:09:55PM -0500, Tom Rini wrote:
> This family of platforms typically has a USB port, and so attempting to
> boot from it, and making it first, will provide a better overall user
> experience.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-07 16:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25 23:09 [PATCH] ti: j721e_evm: Add USB to the default boot order Tom Rini
2023-02-07 16:49 ` Tom Rini
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.