[U-Boot] [PATCH 1/4]: arm: Kirkwood: Set MAC address during registration for kirkwood egiga

Wolfgang Denk wd at denx.de
Sat Jul 11 11:27:57 CEST 2009


Dear Simon Kagstrom,

In message <20090710092452.492dfafe at marrow.netinsight.se> you wrote:
>
> OK, I've tried looking around at how other boards do it, and at least
> the most similar (mv6436x_eth_initialize() for other Marvell boards) do
> it the same way as well as some others (ax88180.c).

Then those slipped through the review process. Patches to clean these
up are welcome.

> Should Linux otherwise read the passed U-boot environment and set it up
> by itself?

Unfortunately ARM Linux does not provide yet a standard way to pass
the MAC address from the boot loader. In the long term this problem
will be solved by using the device tree for ARM; in the meantime,
some drivers use a "ethaddr=" command line parameter (but that will
probably bring up discussions on the Linux front again).

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
Few people do business well who do nothing else.
                                       -- Philip Earl of Chesterfield


More information about the U-Boot mailing list