sandbox: phy: Update driver for livetree
Update the sandbox phy driver to support livetree. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
23558bb67a
commit
5204e9b86b
@ -80,8 +80,7 @@ static int sandbox_phy_probe(struct udevice *dev)
|
||||
|
||||
priv->initialized = false;
|
||||
priv->on = false;
|
||||
priv->broken = fdtdec_get_bool(gd->fdt_blob, dev_of_offset(dev),
|
||||
"broken");
|
||||
priv->broken = dev_read_bool(dev, "broken");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user