[PATCH 4/5] boot: try builtin and removable media before net for boot.default
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Dec 11 13:00:46 PST 2025
This is the same sequence to automatically probe the environment, so it
makes sense that the automatic boot order would follow.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
common/boot.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/boot.c b/common/boot.c
index 07bd288df29d..14525d31ae2d 100644
--- a/common/boot.c
+++ b/common/boot.c
@@ -137,6 +137,8 @@ static int init_boot(void)
if (!global_boot_default)
global_boot_default = xstrdup(
IF_ENABLED(CONFIG_BOOT_DEFAULTS, "bootsource ")
+ IF_ENABLED(CONFIG_BOOT_DEFAULTS, "storage.builtin ")
+ IF_ENABLED(CONFIG_BOOT_DEFAULTS, "storage.removable ")
"net"
);
--
2.47.3
More information about the barebox
mailing list