diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-26 12:14:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-06 11:41:29 +0100 |
commit | a51d06d67900547b68cc133c0d185937cea04fee (patch) | |
tree | 91e3c4a7a4c1dd5a69fdd60d500c736b03b4ee51 /commands/oftree.c | |
parent | 973e58e3abdc70f3d28c61961a4fc7b0acac0719 (diff) | |
download | barebox-a51d06d67900547b68cc133c0d185937cea04fee.tar.gz barebox-a51d06d67900547b68cc133c0d185937cea04fee.tar.xz |
of: remove unused libfdt
Now that we are completely independent of libfdt remove the unused
code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/oftree.c')
-rw-r--r-- | commands/oftree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/oftree.c b/commands/oftree.c index e4f52b851c..468235a043 100644 --- a/commands/oftree.c +++ b/commands/oftree.c @@ -30,7 +30,6 @@ #include <command.h> #include <fs.h> #include <malloc.h> -#include <libfdt.h> #include <linux/ctype.h> #include <linux/err.h> #include <asm/byteorder.h> @@ -114,7 +113,7 @@ static int do_oftree(int argc, char *argv[]) goto out; } - ret = write_file(file, fdt, fdt_totalsize(fdt)); + ret = write_file(file, fdt, fdt32_to_cpu(fdt->totalsize)); goto out; } |