Merge git://git.denx.de/u-boot-dm
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user