Message ID | 20230125230955.1568039-1-trini@konsulko.com |
---|---|
State | Accepted |
Commit | 4af25d8f72520375115f116df98e41564c57a16a |
Delegated to: | Tom Rini |
Headers | show |
Series | ti: j721e_evm: Add USB to the default boot order | expand |
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!
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) \
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(+)