summaryrefslogtreecommitdiff
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>2007-12-28 11:56:30 +0100
committerGerald Van Baren <vanbaren@cideas.com>2008-01-08 15:03:06 -0500
commit22fb2246df91bfc840d87f0c5910818bad55577a (patch)
tree4d527b7fd91cc4f50cdbb6d4ab2b1b5e8246d07d /include/fdt_support.h
parent74ac5facb988fc488a707db228b177ead63a6541 (diff)
downloadu-boot-imx-22fb2246df91bfc840d87f0c5910818bad55577a.zip
u-boot-imx-22fb2246df91bfc840d87f0c5910818bad55577a.tar.gz
u-boot-imx-22fb2246df91bfc840d87f0c5910818bad55577a.tar.bz2
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. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h2
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);