]> git.sur5r.net Git - u-boot/commitdiff
spl: fit: Do not print selected dtb during fit load
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 24 May 2016 05:04:43 +0000 (10:34 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:47:42 +0000 (15:47 -0400)
No prints should be allowed during UART load.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
common/spl/spl_fit.c

index fb69f1d1685ebd7a1fa7d0de2789ac272ea49a17..a828f72da84fa798cfd4f903ab19d7501a8636d3 100644 (file)
@@ -67,9 +67,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;
        }