diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-19 02:09:48 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 13:03:15 (GMT) |
commit | 5204e9b86bbb5d7279f15e51683b6c9180ea1357 (patch) | |
tree | 61a71a9374a49a1ab0e55a96fa46c5c720236536 /drivers | |
parent | 23558bb67a0df95b390ce6adea6c54d22bb67faa (diff) | |
download | u-boot-5204e9b86bbb5d7279f15e51683b6c9180ea1357.tar.xz |
sandbox: phy: Update driver for livetree
Update the sandbox phy driver to support livetree.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/phy/sandbox-phy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/phy/sandbox-phy.c b/drivers/phy/sandbox-phy.c index 9ad820c..867c6fe 100644 --- a/drivers/phy/sandbox-phy.c +++ b/drivers/phy/sandbox-phy.c @@ -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; } |