aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-28 17:50:09 -0700
committerSimon Glass <sjg@chromium.org>2020-12-13 07:58:18 -0700
commit725e4fce61e5b8339fdc975b01ce7bb3dd9fa5f4 (patch)
treee1f7b772007575a08423e467a124a0c1c6886c45 /test
parent2ebea5eaebf2c11c3f18f553d1bceba22e220893 (diff)
downloadu-boot-725e4fce61e5b8339fdc975b01ce7bb3dd9fa5f4.zip
u-boot-725e4fce61e5b8339fdc975b01ce7bb3dd9fa5f4.tar.gz
u-boot-725e4fce61e5b8339fdc975b01ce7bb3dd9fa5f4.tar.bz2
dm: core: Drop unused parameter from dm_scan_fdt()
This doesn't need to be passed the devicetree anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/dm/core.c2
-rw-r--r--test/dm/test-fdt.c2
-rw-r--r--test/dm/test-main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/dm/core.c b/test/dm/core.c
index ba9e60d..71ebb36 100644
--- a/test/dm/core.c
+++ b/test/dm/core.c
@@ -486,7 +486,7 @@ static int dm_test_leak(struct unit_test_state *uts)
dm_leak_check_start(uts);
ut_assertok(dm_scan_platdata(false));
- ut_assertok(dm_scan_fdt(gd->fdt_blob, false));
+ ut_assertok(dm_scan_fdt(false));
/* Scanning the uclass is enough to probe all the devices */
for (id = UCLASS_ROOT; id < UCLASS_COUNT; id++) {
diff --git a/test/dm/test-fdt.c b/test/dm/test-fdt.c
index cc12419..9507636 100644
--- a/test/dm/test-fdt.c
+++ b/test/dm/test-fdt.c
@@ -308,7 +308,7 @@ static int dm_test_fdt_pre_reloc(struct unit_test_state *uts)
struct uclass *uc;
int ret;
- ret = dm_scan_fdt(gd->fdt_blob, true);
+ ret = dm_scan_fdt(true);
ut_assert(!ret);
ret = uclass_get(UCLASS_TEST_FDT, &uc);
diff --git a/test/dm/test-main.c b/test/dm/test-main.c
index fd24635..2ab73b6 100644
--- a/test/dm/test-main.c
+++ b/test/dm/test-main.c
@@ -213,7 +213,7 @@ int dm_test_main(const char *test_name)
ut_assertok(dm_init(CONFIG_IS_ENABLED(OF_LIVE)));
dm_scan_platdata(false);
if (!CONFIG_IS_ENABLED(OF_PLATDATA))
- dm_scan_fdt(gd->fdt_blob, false);
+ dm_scan_fdt(false);
return uts->fail_count ? CMD_RET_FAILURE : 0;
}