diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-10-10 22:07:01 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-14 09:16:27 -0800 |
commit | 2786cd740ebdbdd653714837eadf359f7b28964f (patch) | |
tree | 050d4dd49d3be0fa932156a86baa8be590b84524 /test/dm/bus.c | |
parent | 8e39afcd942cdc52acaec33bce6b807b0dcc8cfe (diff) | |
download | u-boot-2786cd740ebdbdd653714837eadf359f7b28964f.zip u-boot-2786cd740ebdbdd653714837eadf359f7b28964f.tar.gz u-boot-2786cd740ebdbdd653714837eadf359f7b28964f.tar.bz2 |
test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag
Now that we fixed the pre-relocation driver binding for driver marked
with DM_FLAG_PRE_RELOC flag, add a test case to cover that scenario.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/bus.c')
-rw-r--r-- | test/dm/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/bus.c b/test/dm/bus.c index 08137a2..d0cd5a0 100644 --- a/test/dm/bus.c +++ b/test/dm/bus.c @@ -107,7 +107,7 @@ UCLASS_DRIVER(testbus) = { /* Test that we can probe for children */ static int dm_test_bus_children(struct unit_test_state *uts) { - int num_devices = 7; + int num_devices = 8; struct udevice *bus; struct uclass *uc; |