dm: Make sure that the root device is probed
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:00 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:24 +0000 (14:07 +0100)
commit7497812d47d4ad17172ec373469a33a6ab8b257e
tree8275d58ac9dcc129fdba9371be522b999c11e305
parent709ea543b92489e7729d2d7ddd6c9f451e52158c
dm: Make sure that the root device is probed

The root device should be probed just like any other device. The effect of
this is to mark the device as activated, so that it can be removed (along
with its children) if required.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
drivers/core/root.c
test/dm/core.c