summaryrefslogtreecommitdiffstats
path: root/commands/oftree.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-08 18:13:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-11 14:10:02 +0100
commit86e787e84565e6c08696450e9d14d066f3f76056 (patch)
tree8bc6ae5149f98cf5c119e7a3d053c13aa057dd12 /commands/oftree.c
parent05ed875f3519406571795229716363a6834b1b01 (diff)
downloadbarebox-86e787e84565e6c08696450e9d14d066f3f76056.tar.gz
barebox-86e787e84565e6c08696450e9d14d066f3f76056.tar.xz
of: rename of_parse_dtb to of_unflatten_dtb
The process of unflatten the device tree is known from the kernel, so rename the function, because that's what it does. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/oftree.c')
-rw-r--r--commands/oftree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/oftree.c b/commands/oftree.c
index 7404db56b1..b9d3c7bf22 100644
--- a/commands/oftree.c
+++ b/commands/oftree.c
@@ -108,7 +108,7 @@ static int do_oftree(int argc, char *argv[])
return 1;
}
- ret = of_parse_dtb(fdt);
+ ret = of_unflatten_dtb(fdt);
if (ret) {
printf("parse oftree: %s\n", strerror(-ret));
return 1;