From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Thu, 19 May 2016 15:57:55 +0530 Subject: [U-Boot] [PATCH 1/3] spl: fit: Do not print selected dtb during fit load In-Reply-To: <1463653677-24006-1-git-send-email-lokeshvutla@ti.com> References: <1463653677-24006-1-git-send-email-lokeshvutla@ti.com> Message-ID: <1463653677-24006-2-git-send-email-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Uart boot is failing when a printf is called while loading image. So, disable prints while loading FIT image. Signed-off-by: Lokesh Vutla --- common/spl/spl_fit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index ace2543..a0ea44c 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -62,9 +62,7 @@ static int spl_fit_select_fdt(const void *fdt, int images, int *fdt_offsetp) *fdt_offsetp = fdt_getprop_u32(fdt, fdt_node, "data-offset"); len = fdt_getprop_u32(fdt, fdt_node, "data-size"); -#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT - printf("FIT: Selected '%s'\n", name); -#endif + debug("FIT: Selected '%s'\n", name); return len; } -- 2.8.2