Skip to contentSkip to conversation

Add fdt_find_and_setprop() to fdt_support.h

PATCH New Matthias Fuchs 3 participants 3 messages Dec 28, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add fdt_find_and_setprop() to fdt_support.h

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.

---
 include/fdt_support.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/fdt_support.h +2 -0
index 3d6c1a8..58e26ab 100644
@@ -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);
Signature · 1 line
1.5.3
#1 lore raw

PATCH 1/1 Add fdt_find_and_setprop() to fdt_support.h

Quoted 5 lines · Matthias Fuchs

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.

PS: Matthias, please keep the responsible custodian on CC. Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================

#2 lore raw

PATCH 1/1 Add fdt_find_and_setprop() to fdt_support.h

Quoted 5 lines · Stefan Roese
Quoted 4 lines · Matthias Fuchs

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.

Quoted 8 lines
Quoted 1 line

PS: Matthias, please keep the responsible custodian on CC. Thanks.

Best regards,
Stefan

Thanks guys, I'll apply.

gvb