From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 26 Sep 2018 15:55:10 -0600 Subject: [U-Boot] [PATCH 12/22] spl: Print a message if we are unable to load an image In-Reply-To: <20180926215520.87168-1-sjg@chromium.org> References: <20180926215520.87168-1-sjg@chromium.org> Message-ID: <20180926215520.87168-13-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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