summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-12-01 15:24:26 -0500
committerTom Rini <trini@ti.com>2014-12-01 15:24:26 -0500
commit88342103cccf73b39c764bfb1473e7bf29b52b88 (patch)
treec2d5accd809858328894d8e834b15752a88b2fef /lib/fdtdec.c
parentf4e7e2d12164c3235c3f5e19a68a503623029d35 (diff)
parentffccb84c1a8e276fa7263ec4ca8186f06312305c (diff)
Merge git://git.denx.de/u-boot-fdt
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index a8872b0589..9d86dba329 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -373,21 +373,6 @@ int fdtdec_get_alias_seq(const void *blob, const char *base, int offset,
return -ENOENT;
}
-int fdtdec_get_alias_node(const void *blob, const char *name)
-{
- const char *prop;
- int alias_node;
- int len;
-
- if (!blob)
- return -FDT_ERR_NOTFOUND;
- alias_node = fdt_path_offset(blob, "/aliases");
- prop = fdt_getprop(blob, alias_node, name, &len);
- if (!prop)
- return -FDT_ERR_NOTFOUND;
- return fdt_path_offset(blob, prop);
-}
-
int fdtdec_get_chosen_node(const void *blob, const char *name)
{
const char *prop;