diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-28 19:41:12 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-07 22:31:32 -0400 |
commit | e180c2b129016baf21086eca73767844e7eff185 (patch) | |
tree | 9024230dcb1a4f3480cc18a4bed4e965ff406d51 /include/dm/test.h | |
parent | bd34715599c17e0d3f09af1cdfba8af120bc8602 (diff) | |
download | u-boot-e180c2b129016baf21086eca73767844e7eff185.tar.gz u-boot-e180c2b129016baf21086eca73767844e7eff185.tar.xz u-boot-e180c2b129016baf21086eca73767844e7eff185.zip |
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 'include/dm/test.h')
-rw-r--r-- | include/dm/test.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/dm/test.h b/include/dm/test.h index 2c92d41278..b2adce730a 100644 --- a/include/dm/test.h +++ b/include/dm/test.h @@ -144,15 +144,6 @@ struct dm_test_state { struct udevice *removed; }; -/* Test flags for each test */ -enum { - DM_TESTF_SCAN_PDATA = 1 << 0, /* test needs platform data */ - DM_TESTF_PROBE_TEST = 1 << 1, /* probe test uclass */ - DM_TESTF_SCAN_FDT = 1 << 2, /* scan device tree */ - DM_TESTF_FLAT_TREE = 1 << 3, /* test needs flat DT */ - DM_TESTF_LIVE_TREE = 1 << 4, /* needs live device tree */ -}; - /* Declare a new driver model test */ #define DM_TEST(_name, _flags) UNIT_TEST(_name, _flags, dm_test) |