diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-19 15:41:18 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-21 02:07:43 +0200 |
commit | ba37aa03287c5483c61c0a3e320c8888bee0143a (patch) | |
tree | 2dfda3297180c8c2d45202ef470cc06105d5d5b7 /include | |
parent | 4cacf7c64609839f809e2f9c45873f1d65861703 (diff) | |
download | u-boot-imx-ba37aa03287c5483c61c0a3e320c8888bee0143a.zip u-boot-imx-ba37aa03287c5483c61c0a3e320c8888bee0143a.tar.gz u-boot-imx-ba37aa03287c5483c61c0a3e320c8888bee0143a.tar.bz2 |
fdt: rework fdt_fixup_ethernet() to use env instead of bd_t
Move to using the environment variables 'ethaddr', 'eth1addr', etc..
instead of bd->bi_enetaddr, bi_enet1addr, etc.
This makes the code a bit more flexible to the number of ethernet
interfaces.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/fdt_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h index a7c6326..f2f2cd5 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -45,7 +45,7 @@ void do_fixup_by_compat(void *fdt, const char *compat, 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); +void fdt_fixup_ethernet(void *fdt); int fdt_find_and_setprop(void *fdt, const char *node, const char *prop, const void *val, int len, int create); void fdt_fixup_qe_firmware(void *fdt); |