From: Otavio Salvador Date: Thu, 3 Sep 2020 17:25:15 +0000 (-0300) Subject: spl: Avoid printing boot device if silent console is enabled X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=f9b9b779338ba2dd673fb7b8ae92a01fd9ba6f64;p=u-boot.git spl: Avoid printing boot device if silent console is enabled Signed-off-by: Otavio Salvador Reviewed-by: Tom Rini Reviewed-by: Stefan Roese --- diff --git a/common/spl/spl.c b/common/spl/spl.c index 4840d1d367..63c48fbf33 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -552,7 +552,9 @@ static int boot_from_devices(struct spl_image_info *spl_image, struct spl_image_loader *loader; loader = spl_ll_find_loader(spl_boot_list[i]); -#if defined(CONFIG_SPL_SERIAL_SUPPORT) && defined(CONFIG_SPL_LIBCOMMON_SUPPORT) +#if defined(CONFIG_SPL_SERIAL_SUPPORT) \ + && defined(CONFIG_SPL_LIBCOMMON_SUPPORT) \ + && !defined(CONFIG_SILENT_CONSOLE) if (loader) printf("Trying to boot from %s\n", loader->name); else