]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8m: soc.c: demote some printfs to debug
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 22 May 2023 09:27:28 +0000 (11:27 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:04 +0000 (14:40 +0200)
Getting

  Found /vpu_g1@38300000 node
  Modify /vpu_g1@38300000:status disabled
  Found /vpu_g2@38310000 node
  Modify /vpu_g2@38310000:status disabled

etc. on the console on every boot is needlessly verbose. Demote the
"Found ..." lines to debug(), which is consistent with other instances
in soc.c.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/soc.c

index 5ffdcabbb513975e4d8ac84d30e241f6190243d5..d5254886bed9e8fca59db28ebb29c59bbc00d4a4 100644 (file)
@@ -737,7 +737,7 @@ static int disable_fdt_nodes(void *blob, const char *const nodes_path[], int siz
                if (nodeoff < 0)
                        continue; /* Not found, skip it */
 
-               printf("Found %s node\n", nodes_path[i]);
+               debug("Found %s node\n", nodes_path[i]);
 
 add_status:
                rc = fdt_setprop(blob, nodeoff, "status", status, strlen(status) + 1);
@@ -1266,7 +1266,7 @@ int ft_system_setup(void *blob, struct bd_info *bd)
                if (nodeoff >= 0) {
                        const char *speed = "high-speed";
 
-                       printf("Found %s node\n", usb_dwc3_path[v]);
+                       debug("Found %s node\n", usb_dwc3_path[v]);
 
 usb_modify_speed: