summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-01-26 02:09:55 +0300
committerTom Rini <trini@konsulko.com>2023-02-06 21:04:53 +0300
commit4af25d8f72520375115f116df98e41564c57a16a (patch)
treea4fd455d2ef8e7f803c978be30095c80618ba3d4
parentafb269c679e8accb6f19231121a3a02ad0359c8a (diff)
downloadu-boot-4af25d8f72520375115f116df98e41564c57a16a.tar.xz
ti: j721e_evm: Add USB to the default boot order
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>
-rw-r--r--include/configs/j721e_evm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index a7210b5cf3..48b1cea6e3 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) \