From: Sergej Stepanov Date: Wed, 28 Nov 2007 11:02:36 +0100 Subject: [U-Boot-Users] [PATCH][FDT] Fix build breakage due to libfdt import In-Reply-To: References: Message-ID: <1196244156.3098.3.camel@p60365-ste> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Montag, den 26.11.2007, 11:21 -0600 schrieb Kumar Gala: > The IDS8247 got lost in the update and need an API update > do to rename of functions in libfdt. > > Signed-off-by: Kumar Gala > --- > > Note, this patch is also in my git tree: > git.kernel.org:/pub/scm/boot/u-boot/galak/u-boot.git > > board/ids8247/ids8247.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/board/ids8247/ids8247.c b/board/ids8247/ids8247.c > index b05424d..d1d8c56 100644 > --- a/board/ids8247/ids8247.c > +++ b/board/ids8247/ids8247.c > @@ -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)); Thank you Kumar. If i can ack it, i would do it. :) Sergej.