diff mbox

[U-Boot,1/3] spl: fit: Do not print selected dtb during fit load

Message ID 1463653677-24006-2-git-send-email-lokeshvutla@ti.com
State Accepted
Commit cfe32a4be24da8cf51bbbfa57ddd7cbddade2f43
Delegated to: Tom Rini
Headers show

Commit Message

Lokesh Vutla May 19, 2016, 10:27 a.m. UTC
Uart boot is failing when a printf is called while loading image. So, disable
prints while loading FIT image.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 common/spl/spl_fit.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Tom Rini May 19, 2016, 1:50 p.m. UTC | #1
On Thu, May 19, 2016 at 03:57:55PM +0530, Lokesh Vutla wrote:

> Uart boot is failing when a printf is called while loading image. So, disable
> prints while loading FIT image.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
diff mbox

Patch

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;
 	}