diff options
author | Tom Rini <trini@konsulko.com> | 2018-01-24 19:28:44 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-24 19:28:44 +0300 |
commit | fb4413295c765aa8c013650984dc2d908964c81d (patch) | |
tree | 310dec76e0dd7c9227bad54ed372657f8e59713d /drivers/core/read.c | |
parent | 16121280188d3daa57b18ad623d0845bbbb5a90a (diff) | |
parent | 2f516e4aa286eb0203e34ab9be68b08f7a3c44c1 (diff) | |
download | u-boot-fb4413295c765aa8c013650984dc2d908964c81d.tar.xz |
Merge git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/core/read.c')
-rw-r--r-- | drivers/core/read.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/core/read.c b/drivers/core/read.c index ce33ecdadd..601d1322d6 100644 --- a/drivers/core/read.c +++ b/drivers/core/read.c @@ -10,6 +10,11 @@ #include <mapmem.h> #include <dm/of_access.h> +int dev_read_u32(struct udevice *dev, const char *propname, u32 *outp) +{ + return ofnode_read_u32(dev_ofnode(dev), propname, outp); +} + int dev_read_u32_default(struct udevice *dev, const char *propname, int def) { return ofnode_read_u32_default(dev_ofnode(dev), propname, def); |