summaryrefslogtreecommitdiff
path: root/test/dm/bus.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-10-11 08:07:01 +0300
committerSimon Glass <sjg@chromium.org>2018-11-14 20:16:27 +0300
commit2786cd740ebdbdd653714837eadf359f7b28964f (patch)
tree050d4dd49d3be0fa932156a86baa8be590b84524 /test/dm/bus.c
parent8e39afcd942cdc52acaec33bce6b807b0dcc8cfe (diff)
downloadu-boot-2786cd740ebdbdd653714837eadf359f7b28964f.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/bus.c b/test/dm/bus.c
index 08137a2216..d0cd5a009c 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;