mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user