Commit 22fb2246df91bfc840d87f0c5910818bad55577a

Authored by Matthias Fuchs
Committed by Gerald Van Baren
1 parent 74ac5facb9

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

include/fdt_support.h
... ... @@ -46,6 +46,8 @@
46 46 const char *prop, u32 val, int create);
47 47 int fdt_fixup_memory(void *blob, u64 start, u64 size);
48 48 void fdt_fixup_ethernet(void *fdt, bd_t *bd);
  49 +int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
  50 + const void *val, int len, int create);
49 51  
50 52 #ifdef CONFIG_OF_HAS_UBOOT_ENV
51 53 int fdt_env(void *fdt);