summaryrefslogtreecommitdiff
path: root/board/cm5200/cm5200.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-10-24 11:04:22 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-11-21 14:04:05 -0600
commit8d04f02f6224e6983f4812ea4da704950ec8539c (patch)
tree0e3193813d29fe82231ad618075efe257b2925f1 /board/cm5200/cm5200.c
parente93becf80d732b64aef81b23e8b6ece02c40533d (diff)
downloadu-boot-imx-8d04f02f6224e6983f4812ea4da704950ec8539c.zip
u-boot-imx-8d04f02f6224e6983f4812ea4da704950ec8539c.tar.gz
u-boot-imx-8d04f02f6224e6983f4812ea4da704950ec8539c.tar.bz2
Update libfdt from device tree compiler (dtc)
Update libfdt to commit 8eaf5e358366017aa2e846c5038d1aa19958314e from the device tree compiler (dtc) project. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/cm5200/cm5200.c')
-rw-r--r--board/cm5200/cm5200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cm5200/cm5200.c b/board/cm5200/cm5200.c
index e2ab5b8..4a86d3c 100644
--- a/board/cm5200/cm5200.c
+++ b/board/cm5200/cm5200.c
@@ -276,7 +276,7 @@ static void ft_blob_update(void *blob, bd_t *bd)
memory_data[0] = cpu_to_be32(bd->bi_memstart);
memory_data[1] = cpu_to_be32(bd->bi_memsize);
- nodeoffset = fdt_find_node_by_path (blob, "/memory");
+ nodeoffset = fdt_path_offset (blob, "/memory");
if (nodeoffset >= 0) {
ret = fdt_setprop(blob, nodeoffset, "reg", memory_data,
sizeof(memory_data));