diff options
author | Simon Glass <sjg@chromium.org> | 2022-07-30 15:52:12 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-12 08:14:24 -0400 |
commit | 7b1dfc9fd7e2efed345c3fe9a2412b5300ac285e (patch) | |
tree | b43e1efeef5f4a868089c163bcd7ccb0627d53e2 /test | |
parent | b7eaa4f5e5b78cbf8b133f13e65412be55484d07 (diff) | |
download | u-boot-7b1dfc9fd7e2efed345c3fe9a2412b5300ac285e.zip u-boot-7b1dfc9fd7e2efed345c3fe9a2412b5300ac285e.tar.gz u-boot-7b1dfc9fd7e2efed345c3fe9a2412b5300ac285e.tar.bz2 |
dm: core: Prepare for updating the device tree with ofnode
Add some documentation and a new flag so that we can safely enabled using
the ofnode interface to write to the device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/test-main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-main.c b/test/test-main.c index ee38d1f..c0d0378 100644 --- a/test/test-main.c +++ b/test/test-main.c @@ -338,7 +338,8 @@ static int ut_run_test_live_flat(struct unit_test_state *uts, /* Run with the live tree if possible */ runs = 0; if (CONFIG_IS_ENABLED(OF_LIVE)) { - if (!(test->flags & UT_TESTF_FLAT_TREE)) { + if (!(test->flags & + (UT_TESTF_FLAT_TREE | UT_TESTF_LIVE_OR_FLAT))) { uts->of_live = true; ut_assertok(ut_run_test(uts, test, test->name)); runs++; |