summaryrefslogtreecommitdiff
path: root/test/dm/test-dm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-08 03:34:52 +0300
committerTom Rini <trini@konsulko.com>2021-03-12 17:57:29 +0300
commit5a986f3feef7ce7f14282f0c6ed2f6c63647a821 (patch)
tree8dfa5a0fc94a64b5b87187cab68ad02fe29bc953 /test/dm/test-dm.c
parent4b8b27e3d2f0825c58f9982b36cf941ad007cbda (diff)
downloadu-boot-5a986f3feef7ce7f14282f0c6ed2f6c63647a821.tar.xz
test: Move dm_scan_plat() 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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/dm/test-dm.c b/test/dm/test-dm.c
index c2e1a1b920..18877c7ae5 100644
--- a/test/dm/test-dm.c
+++ b/test/dm/test-dm.c
@@ -74,8 +74,6 @@ static int dm_do_test(struct unit_test_state *uts, struct unit_test *test,
ut_assertok(dm_test_init(uts, of_live));
uts->start = mallinfo();
- if (test->flags & UT_TESTF_SCAN_PDATA)
- ut_assertok(dm_scan_plat(false));
ut_assertok(test_pre_run(uts, test));