summaryrefslogtreecommitdiff
path: root/board/cm5200
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-23 00:55:23 +0100
committerWolfgang Denk <wd@denx.de>2007-11-23 00:55:23 +0100
commitcfa4c9d8996d5949f615553c220a06c9fe6395cc (patch)
treeab2c14b55f4381aec657c6aed279bd57c43f64b8 /board/cm5200
parent98e2867cc85409b919f862e6c16026461ec955df (diff)
parent9162352817579840d7802da6d85872b3ca003c97 (diff)
Merge branch 'testing' of git://www.denx.de/git/u-boot-fdt
Diffstat (limited to 'board/cm5200')
-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 e2ab5b8e26..4a86d3c552 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));