summaryrefslogtreecommitdiff
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-11-21 11:11:03 -0600
committerKumar Gala <galak@kernel.crashing.org>2007-11-21 15:08:56 -0600
commitab544633abdd14f4dd5d92e500b73eb59ef57e67 (patch)
tree1d336ca2515d240b95a4d00a01243147a08cfedc /include/fdt_support.h
parentdbaf07ce620aab249e3502b20a986234a6af1d3a (diff)
downloadu-boot-imx-ab544633abdd14f4dd5d92e500b73eb59ef57e67.zip
u-boot-imx-ab544633abdd14f4dd5d92e500b73eb59ef57e67.tar.gz
u-boot-imx-ab544633abdd14f4dd5d92e500b73eb59ef57e67.tar.bz2
Add fdt_fixup_ethernet helper to set mac addresses
Added a fixup helper that uses aliases to set mac addresses in the device tree based on the bd_t Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 0314dfd..150dd2b 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -33,6 +33,7 @@ void do_fixup_by_path(void *fdt, const char *path, const char *prop,
const void *val, int len, int create);
void do_fixup_by_path_u32(void *fdt, const char *path, const char *prop,
u32 val, int create);
+void fdt_fixup_ethernet(void *fdt, bd_t *bd);
#ifdef CONFIG_OF_HAS_UBOOT_ENV
int fdt_env(void *fdt);