It can confusing when U-Boot SPL hangs for no obvious reason, when it is
unable to load U-Boot. Add a message to indicate the cause.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 common/spl/spl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/spl/spl.c b/common/spl/spl.c
index 69e4aca8a58..8d3c6d20017 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -480,6 +480,7 @@ static int boot_from_devices(struct spl_image_info 
*spl_image,
                        return 0;
                }
        }
+       puts(SPL_TPL_PROMPT "No more boot devices\n");
 
        return -ENODEV;
 }
-- 
2.19.0.605.g01d371f741-goog

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to