[U-Boot] [PATCH v8] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t
Wolfgang Denk
wd at denx.de
Thu Aug 21 02:07:55 CEST 2008
Dear Kumar Gala,
In message <1219178478-15212-1-git-send-email-galak at kernel.crashing.org> you wrote:
> 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 at kernel.crashing.org>
> ---
>
> Bump the array sizes to cover a vast number of ethernet mac addresses
> at Wolfgang's request.
>
> - k
>
> common/fdt_support.c | 68 +++++++++++++++++++-----------------------------
> cpu/74xx_7xx/cpu.c | 2 +-
> cpu/mpc512x/cpu.c | 2 +-
> cpu/mpc8260/cpu.c | 2 +-
> cpu/mpc83xx/fdt.c | 2 +-
> cpu/mpc85xx/fdt.c | 2 +-
> cpu/mpc86xx/fdt.c | 2 +-
> cpu/mpc8xx/fdt.c | 2 +-
> cpu/ppc4xx/fdt.c | 2 +-
> include/fdt_support.h | 2 +-
> 10 files changed, 36 insertions(+), 50 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Murder is contrary to the laws of man and God.
-- M-5 Computer, "The Ultimate Computer", stardate 4731.3
More information about the U-Boot
mailing list