public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Add fdt_find_and_setprop() to fdt_support.h
@ 2007-12-28 10:56 Matthias Fuchs
  2007-12-28 12:16 ` Stefan Roese
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fuchs @ 2007-12-28 10:56 UTC (permalink / raw)
  To: u-boot

fdt_find_and_setprop() is used by several 4xx boards and it's
missing in the appropriate header. This patch eliminates a
warning when building U-Boot for such boards.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
---
 include/fdt_support.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/fdt_support.h b/include/fdt_support.h
index 3d6c1a8..58e26ab 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -46,6 +46,8 @@ void do_fixup_by_compat_u32(void *fdt, const char *compat,
 			    const char *prop, u32 val, int create);
 int fdt_fixup_memory(void *blob, u64 start, u64 size);
 void fdt_fixup_ethernet(void *fdt, bd_t *bd);
+int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
+			 const void *val, int len, int create);
 
 #ifdef CONFIG_OF_HAS_UBOOT_ENV
 int fdt_env(void *fdt);
-- 
1.5.3

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

end of thread, other threads:[~2007-12-28 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-28 10:56 [U-Boot-Users] [PATCH] Add fdt_find_and_setprop() to fdt_support.h Matthias Fuchs
2007-12-28 12:16 ` Stefan Roese
2007-12-28 15:25   ` gvb.uboot

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