diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-12-03 19:49:17 +0100 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-01-09 12:00:06 +0200 |
commit | 5ea4c28b3718f38cd53b5a639707c022dc03bb31 (patch) | |
tree | a82c315b27a5a1e7a6d7c6a093579936f30b42a0 | |
parent | 4e3a88f2ba73afaa5a1841638532259e52a6c88a (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 a9a0251d1e..e93ecd2846 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -657,8 +657,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) { @@ -988,8 +986,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", |