fdt: rework fdt_fixup_ethernet() to use env instead of bd_t
authorKumar Gala <galak@kernel.crashing.org>
Tue, 19 Aug 2008 20:41:18 +0000 (15:41 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 21 Aug 2008 00:07:43 +0000 (02:07 +0200)
commitba37aa03287c5483c61c0a3e320c8888bee0143a
tree2dfda3297180c8c2d45202ef470cc06105d5d5b7
parent4cacf7c64609839f809e2f9c45873f1d65861703
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>
common/fdt_support.c
cpu/74xx_7xx/cpu.c
cpu/mpc512x/cpu.c
cpu/mpc8260/cpu.c
cpu/mpc83xx/fdt.c
cpu/mpc85xx/fdt.c
cpu/mpc86xx/fdt.c
cpu/mpc8xx/fdt.c
cpu/ppc4xx/fdt.c
include/fdt_support.h