public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH][FDT] Fix build breakage due to libfdt import
@ 2007-11-26 17:21 Kumar Gala
  2007-11-28 10:02 ` Sergej Stepanov
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2007-11-26 17:21 UTC (permalink / raw)
  To: u-boot

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>
---

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));
-- 
1.5.3.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot-Users] [PATCH][FDT] Fix build breakage due to libfdt import
  2007-11-26 17:21 [U-Boot-Users] [PATCH][FDT] Fix build breakage due to libfdt import Kumar Gala
@ 2007-11-28 10:02 ` Sergej Stepanov
  2007-11-28 14:01   ` Jerry Van Baren
  0 siblings, 1 reply; 3+ messages in thread
From: Sergej Stepanov @ 2007-11-28 10:02 UTC (permalink / raw)
  To: u-boot

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 <galak@kernel.crashing.org>
> ---
> 
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] [PATCH][FDT] Fix build breakage due to libfdt import
  2007-11-28 10:02 ` Sergej Stepanov
@ 2007-11-28 14:01   ` Jerry Van Baren
  0 siblings, 0 replies; 3+ messages in thread
From: Jerry Van Baren @ 2007-11-28 14:01 UTC (permalink / raw)
  To: u-boot

Sergej Stepanov wrote:
> 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 <galak@kernel.crashing.org>
>> ---
>>
>> 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.

Wolfgang could apply it directly to his u-boot-testing repo.

Reference:
   git://git.kernel.org//pub/scm/boot/u-boot/galak/u-boot.git 
bcc0b68d19e5942e86a4f8b3768b5f23333796df

I pulled it into my u-boot-fdt repo (testing branch, but not pushed back 
to denx.de yet) and plan to push it upstream if Wolfgang doesn't pick it 
up directly.  As noted by Kumar, it is a simple oversight and simple fix.

Best regards,
gvb

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-28 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 17:21 [U-Boot-Users] [PATCH][FDT] Fix build breakage due to libfdt import Kumar Gala
2007-11-28 10:02 ` Sergej Stepanov
2007-11-28 14:01   ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox