]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: renesas: Demote overlap memory nodes message to debug on Gen3
authorHai Pham <hai.pham.ud@renesas.com>
Mon, 27 Feb 2023 23:00:01 +0000 (00:00 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Mar 2023 10:59:45 +0000 (11:59 +0100)
The R-Car DTs might contains multiple /memory@* nodes from various
sources, i.e. prior firmware, u-boot itself or the OS

The duplicates are likely to happen so the messages are not meaningful
in the default setting since we have already handled that.

Reduce the message to debug level.

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
board/renesas/rcar-common/common.c

index daa1beb14f8078003e8f581d75fafa1ecf7fb4c3..0ddae95e230c39040c8e9f4e69bb4a75f4c161ec 100644 (file)
@@ -73,9 +73,9 @@ static int is_mem_overlap(void *blob, int first_mem_node, int curr_mem_node)
                        if (curr_mem_res.start >= first_mem_res.end)
                                continue;
 
-                       printf("Overlap found: 0x%llx..0x%llx / 0x%llx..0x%llx\n",
-                               first_mem_res.start, first_mem_res.end,
-                               curr_mem_res.start, curr_mem_res.end);
+                       log_debug("Overlap found: 0x%llx..0x%llx / 0x%llx..0x%llx\n",
+                                 first_mem_res.start, first_mem_res.end,
+                                 curr_mem_res.start, curr_mem_res.end);
 
                        return 1;
                }