diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2008-08-06 22:24:17 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-20 02:34:58 -0400 |
commit | ed95d7450dcbfeb45ffc9d39b1747aee82b49a51 (patch) | |
tree | faca7d89e2907e1407161f967477ed2ae21d46bb /arch/powerpc/boot/dtc-src/fstree.c | |
parent | 0ec27c049d80535f77901654a310b090106b046c (diff) |
powerpc: Update in-kernel dtc and libfdt to version 1.2.0
Some time ago, a copies of the upstream dtc and libfdt sources were
included in the kernel tree to avoid having these as external
dependencies for building the kernel. Since then development on the
upstream dtc and libfdt has continued. This updates the in-kernel
versions to match the recently released upstream dtc version 1.2.0.
This includes a number of bugfixes, many cleanups and a few new
features.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/dtc-src/fstree.c')
-rw-r--r-- | arch/powerpc/boot/dtc-src/fstree.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dtc-src/fstree.c b/arch/powerpc/boot/dtc-src/fstree.c index 2a160a46998e..766b2694d935 100644 --- a/arch/powerpc/boot/dtc-src/fstree.c +++ b/arch/powerpc/boot/dtc-src/fstree.c | |||
@@ -31,8 +31,8 @@ static struct node *read_fstree(const char *dirname) | |||
31 | struct node *tree; | 31 | struct node *tree; |
32 | 32 | ||
33 | d = opendir(dirname); | 33 | d = opendir(dirname); |
34 | if (! d) | 34 | if (!d) |
35 | die("opendir(): %s\n", strerror(errno)); | 35 | die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno)); |
36 | 36 | ||
37 | tree = build_node(NULL, NULL); | 37 | tree = build_node(NULL, NULL); |
38 | 38 | ||
@@ -87,8 +87,6 @@ struct boot_info *dt_from_fs(const char *dirname) | |||
87 | tree = read_fstree(dirname); | 87 | tree = read_fstree(dirname); |
88 | tree = name_node(tree, "", NULL); | 88 | tree = name_node(tree, "", NULL); |
89 | 89 | ||
90 | fill_fullpaths(tree, ""); | 90 | return build_boot_info(NULL, tree, 0); |
91 | |||
92 | return build_boot_info(NULL, tree); | ||
93 | } | 91 | } |
94 | 92 | ||