From 28f08c4f0e71a899e05136a9029cc77a05492719 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 3 Dec 2020 19:49:17 +0100 Subject: imx8m/soc.c: drop some printf Each node which gets touched prints two lines. Drop the one that the node is found. I.e. all "Found..." lines in U-Boot output are now suppressed: | Found /vpu_g1@38300000 node | Modify /vpu_g1@38300000:status disabled | Found /vpu_g2@38310000 node | Modify /vpu_g2@38310000:status disabled | Found /vpu_h1@38320000 node | Modify /vpu_h1@38320000:status disabled | Found /cpus/cpu@2 node | Delete node /cpus/cpu@2 | Found /cpus/cpu@3 node | Delete node /cpus/cpu@3 Signed-off-by: Max Krummenacher --- arch/arm/mach-imx/imx8m/soc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 1c4e021ced..0ead9925a4 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -651,8 +651,6 @@ static int disable_fdt_nodes(void *blob, const char *nodes_path[], int size_arra if (nodeoff < 0) continue; /* Not found, skip it */ - printf("Found %s node\n", nodes_path[i]); - add_status: rc = fdt_setprop(blob, nodeoff, "status", status, strlen(status) + 1); if (rc) { @@ -868,8 +866,6 @@ static int disable_cpu_nodes(void *blob, u32 disabled_cores) if (nodeoff < 0) continue; /* Not found, skip it */ - printf("Found %s node\n", nodes_path[i]); - rc = fdt_del_node(blob, nodeoff); if (rc < 0) { printf("Unable to delete node %s, err=%s\n", -- cgit v1.2.3