From: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
To: u-boot@lists.denx.de
Subject: [PATCH] Revert "dm: core: Scan "/firmware" node by default"
Date: Tue, 7 Jan 2020 19:24:02 -0800 [thread overview]
Message-ID: <20200108032402.26721-1-thiruan@linux.microsoft.com> (raw)
Subnodes under "/firmware" node are scanned twice in dm_scan_fdt_node
and dm_extended_scan_fdt. This patch removes the double scanning.
This reverts commit 1712ca21924bff678f19fd3141f435408d23bdbf.
Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
---
drivers/core/root.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/core/root.c b/drivers/core/root.c
index e85643819e..daf7c61190 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -342,14 +342,8 @@ int dm_extended_scan_fdt(const void *blob, bool pre_reloc_only)
}
ret = dm_scan_fdt_ofnode_path("/clocks", pre_reloc_only);
- if (ret) {
- debug("scan for /clocks failed: %d\n", ret);
- return ret;
- }
-
- ret = dm_scan_fdt_ofnode_path("/firmware", pre_reloc_only);
if (ret)
- debug("scan for /firmware failed: %d\n", ret);
+ debug("scan for /clocks failed: %d\n", ret);
return ret;
}
--
2.24.1
next reply other threads:[~2020-01-08 3:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 3:24 Thirupathaiah Annapureddy [this message]
2020-01-08 17:39 ` [PATCH] Revert "dm: core: Scan "/firmware" node by default" Simon Glass
2020-01-09 6:28 ` Thirupathaiah Annapureddy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200108032402.26721-1-thiruan@linux.microsoft.com \
--to=thiruan@linux.microsoft.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox