From: Svyatoslav Ryhel <clamor95@gmail.com>
Date: Tue, 18 Jun 2024 10:07:57 +0000 (+0300)
Subject: include: configs: tegra-common-post: make usb first boot target
X-Git-Tag: v2025.01-rc5-pxa1908~426^2~6
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=ef35fffabdb951238d8cf04f997bcf17bc40f9c6;p=u-boot.git

include: configs: tegra-common-post: make usb first boot target

This ensures that the device can boot from a USB device prior to MMC. Useful
cases are when installing a new OS from USB while MMC still has a working OS
configuration or if the OS configuration is broken in late boot stages
(kernel boots but the system does not start).

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---

diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index fc74980f7c..2f08dfed02 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -7,7 +7,7 @@
 #ifndef __TEGRA_COMMON_POST_H
 #define __TEGRA_COMMON_POST_H
 
-#define BOOT_TARGETS	"mmc1 mmc0 usb pxe dhcp"
+#define BOOT_TARGETS	"usb mmc1 mmc0 pxe dhcp"
 
 #ifdef CONFIG_TEGRA_KEYBOARD
 #define STDIN_KBD_KBC ",tegra-kbc"