summaryrefslogtreecommitdiff
path: root/test/dm/test-dm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-08 03:34:50 +0300
committerTom Rini <trini@konsulko.com>2021-03-12 17:57:29 +0300
commitd8ed234b29d070b980a5335e72ebd26cb923ae66 (patch)
treef9ad3d498e56aeef9a1d5c9df5bd2ee6efa7c3cd /test/dm/test-dm.c
parent30a0d2064d593bf357282071a938816de876c64b (diff)
downloadu-boot-d8ed234b29d070b980a5335e72ebd26cb923ae66.tar.xz
test: Move dm_extended_scan() to test_pre_run()
Move this step over to the pre-run function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/test-dm.c')
-rw-r--r--test/dm/test-dm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/dm/test-dm.c b/test/dm/test-dm.c
index 69a0349d04..4cb0da13b7 100644
--- a/test/dm/test-dm.c
+++ b/test/dm/test-dm.c
@@ -93,9 +93,6 @@ static int dm_do_test(struct unit_test_state *uts, struct unit_test *test,
ut_assertok(dm_scan_plat(false));
if (test->flags & UT_TESTF_PROBE_TEST)
ut_assertok(do_autoprobe(uts));
- if (!CONFIG_IS_ENABLED(OF_PLATDATA) &&
- (test->flags & UT_TESTF_SCAN_FDT))
- ut_assertok(dm_extended_scan(false));
ut_assertok(test_pre_run(uts, test));