summaryrefslogtreecommitdiff
path: root/test/dm/spmi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-29 04:41:12 +0300
committerTom Rini <trini@konsulko.com>2020-08-08 05:31:32 +0300
commite180c2b129016baf21086eca73767844e7eff185 (patch)
tree9024230dcb1a4f3480cc18a4bed4e965ff406d51 /test/dm/spmi.c
parentbd34715599c17e0d3f09af1cdfba8af120bc8602 (diff)
downloadu-boot-e180c2b129016baf21086eca73767844e7eff185.tar.xz
dm: Rename DM test flags to make them more generic
The test flags used by driver model are currently not available to other tests. Rather than creating two sets of flags, make these flags generic by changing the DM_ prefix to UT_ and moving them to the test.h header. This will allow adding other test flags without confusion. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/spmi.c')
-rw-r--r--test/dm/spmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dm/spmi.c b/test/dm/spmi.c
index 4aae1f166d..114fd2d22e 100644
--- a/test/dm/spmi.c
+++ b/test/dm/spmi.c
@@ -44,7 +44,7 @@ static int dm_test_spmi_probe(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_spmi_probe, DM_TESTF_SCAN_FDT);
+DM_TEST(dm_test_spmi_probe, UT_TESTF_SCAN_FDT);
/* Test if it's possible to read bus directly and indirectly */
static int dm_test_spmi_access(struct unit_test_state *uts)
@@ -69,7 +69,7 @@ static int dm_test_spmi_access(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_spmi_access, DM_TESTF_SCAN_FDT);
+DM_TEST(dm_test_spmi_access, UT_TESTF_SCAN_FDT);
/* Test if it's possible to access GPIO that should be in pmic */
@@ -110,4 +110,4 @@ static int dm_test_spmi_access_peripheral(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_spmi_access_peripheral, DM_TESTF_SCAN_FDT);
+DM_TEST(dm_test_spmi_access_peripheral, UT_TESTF_SCAN_FDT);