dm: core: Scan the live tree when setting up driver model
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:08 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:08 +0000 (07:03 -0600)
commit19c8205e6887d5e47c7dac6cd85d0376411b5444
tree88f5788dbe0ad8ef62df010d636b615ee1ec9dfe
parent45a26867e8158d0338ba5b99d21989a72d423209
dm: core: Scan the live tree when setting up driver model

When starting up driver model with a live tree we need to scan the tree
for devices. Add code to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c
include/dm/root.h
test/dm/test-main.c