aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2019-05-15 10:07:01 +0200
committerSimon Glass <sjg@chromium.org>2019-05-21 17:33:23 -0600
commitee730a7cd2afe445e53e92b5c37396a5b118f7af (patch)
treec376569f3a1e7826bfce013d7b9af18eba8c23ef /drivers
parentb061ef39c350c288542536b09dc01d9e984a12ac (diff)
downloadu-boot-ee730a7cd2afe445e53e92b5c37396a5b118f7af.zip
u-boot-ee730a7cd2afe445e53e92b5c37396a5b118f7af.tar.gz
u-boot-ee730a7cd2afe445e53e92b5c37396a5b118f7af.tar.bz2
dm: core: Fix dm_extended_scan_fdt()
This function takes an argument, blob, but never uses it, instead uses gd->fdt_blob directly. Fixes: e81c98649b7a ("dm: core: add clocks node scan") Reported-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/core/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 8fa0966..aa5ca40 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -342,7 +342,7 @@ int dm_extended_scan_fdt(const void *blob, bool pre_reloc_only)
{
int ret;
- ret = dm_scan_fdt(gd->fdt_blob, pre_reloc_only);
+ ret = dm_scan_fdt(blob, pre_reloc_only);
if (ret) {
debug("dm_scan_fdt() failed: %d\n", ret);
return ret;