[U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

Wolfgang Denk wd at denx.de
Mon Aug 18 21:25:20 CEST 2008


Dear Kumar Gala,

In message <27B1F145-B4F1-42E8-930C-3A26D1E914CF at kernel.crashing.org> you wrote:
> 
> 74xx_7xx, mpc8xx, ppc4xx -- called regardless of CONFIG_HAS_ETHn
> mpc512x -- called only based on HAS_ETH0
> mpc8260, mpc83xx, mpc85xx, mpc86xx -- called if HAS_ETH0 || HAS_ETH1  
> || HAS_ETH2 || HAS_ETH3
> 
> With ETH3 being the max today.

Yes. and I have to admit that I really dislike this static
configuration which prevents any loops in the code.

> We have a part (p4080) in the works with 8 interfaces (its unlikely  
> we'll have support for all 8 in u-boot, but do want to be ablity to  
> set mac addresses for all 8.)

I guess we should try to find some clever way of overcoming  the  old
style.

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
Don't panic.



More information about the U-Boot mailing list