diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-12-03 19:49:17 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-12-03 22:18:43 +0100 |
commit | 28f08c4f0e71a899e05136a9029cc77a05492719 (patch) | |
tree | aa3ff54ffc201b964bd21eff25f3e79508b86fe7 | |
parent | 8ca87245fde798dfbd307095ece778cd2ff95f3c (diff) |
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 <max.krummenacher@toradex.com>
-rw-r--r-- | arch/arm/mach-imx/imx8m/soc.c | 4 |
1 files changed, 0 insertions, 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", |