projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23558bb
)
sandbox: phy: Update driver for livetree
author
Simon Glass
<sjg@chromium.org>
Fri, 19 May 2017 02:09:48 +0000
(20:09 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 1 Jun 2017 13:03:15 +0000
(07:03 -0600)
Update the sandbox phy driver to support livetree.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/phy/sandbox-phy.c
patch
|
blob
|
history
diff --git
a/drivers/phy/sandbox-phy.c
b/drivers/phy/sandbox-phy.c
index 9ad820c24c9dcc3179bcc2bb7725236160feb082..867c6fe7043bdd9466c671ed3dba44bc29f26de3 100644
(file)
--- 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;
}