Merge git://git.denx.de/u-boot-dm

This commit is contained in:
Tom Rini
2015-10-08 03:03:41 -04:00
4 changed files with 17 additions and 4 deletions

View File

@@ -289,8 +289,12 @@ int device_probe_child(struct udevice *dev, void *parent_priv)
dev->flags |= DM_FLAG_ACTIVATED;
/* continue regardless of the result of pinctrl */
pinctrl_select_state(dev, "default");
/*
* Process pinctrl for everything except the root device, and
* continue regardless of the result of pinctrl.
*/
if (dev->parent)
pinctrl_select_state(dev, "default");
ret = uclass_pre_probe_device(dev);
if (ret)

View File

@@ -40,7 +40,7 @@ static int sandbox_reset_request(struct udevice *dev, enum reset_t type)
* (see the U_BOOT_DEVICE() declaration below) should not do anything.
* If we are that device, return an error.
*/
if (gd->fdt_blob && dev->of_offset == -1)
if (state->fdt_fname && dev->of_offset == -1)
return -ENODEV;
switch (type) {