]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix build breakage due to libfdt import
authorKumar Gala <galak@kernel.crashing.org>
Mon, 26 Nov 2007 16:41:40 +0000 (10:41 -0600)
committerGerald Van Baren <vanbaren@cideas.com>
Sat, 8 Dec 2007 01:51:24 +0000 (20:51 -0500)
The IDS8247 got lost in the update and need an API update
do to rename of functions in libfdt.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/ids8247/ids8247.c

index b05424d32b29a2cf3120445dc2d0da2f6bd398ad..d1d8c56ac5e28da3d5fa76bfcc7ddc3936e7637f 100644 (file)
@@ -335,7 +335,7 @@ 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));