diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-19 20:41:18 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-21 00:07:43 (GMT) |
commit | ba37aa03287c5483c61c0a3e320c8888bee0143a (patch) | |
tree | 2dfda3297180c8c2d45202ef470cc06105d5d5b7 /cpu/mpc512x/cpu.c | |
parent | 4cacf7c64609839f809e2f9c45873f1d65861703 (diff) | |
download | u-boot-fsl-qoriq-ba37aa03287c5483c61c0a3e320c8888bee0143a.tar.xz |
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 'cpu/mpc512x/cpu.c')
-rw-r--r-- | cpu/mpc512x/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc512x/cpu.c b/cpu/mpc512x/cpu.c index 703e188..1f39ac4 100644 --- a/cpu/mpc512x/cpu.c +++ b/cpu/mpc512x/cpu.c @@ -191,7 +191,7 @@ void ft_cpu_setup(void *blob, bd_t *bd) #endif ft_clock_setup(blob, bd); #ifdef CONFIG_HAS_ETH0 - fdt_fixup_ethernet(blob, bd); + fdt_fixup_ethernet(blob); #endif } #endif |