This is the same sequence to automatically probe the environment, so it
makes sense that the automatic boot order would follow.

Reviewed-by: Sascha Hauer <[email protected]>
Signed-off-by: Ahmad Fatoum <[email protected]>
---
v1 -> v2:
  - add Sascha's R-b
---
 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


Reply via email to