Re: [RFC] [PATCH] Device Tree on ARM platform

Jean-Christophe PLAGNIOL-VILLARD
2009-05-27T20:26:56Z

On 14:53 Wed 27 May , Scott Wood wrote:
> Russell King wrote:
>> On Wed, May 27, 2009 at 02:08:42PM -0500, Scott Wood wrote:
>>> Russell King wrote:
>>>> No one has brought that up on the ARM mailing lists - so does this issue
>>>> really exist? All of the stuff I see on the ARM lists seems to be well
>>>> behaved and following our existing model - even vendor stuff (supplied
>>>> to me under NDA) seems to generally get this kind of stuff right.
>>> I'm just going by what I've seen on the u-boot list lately. What is
>>> the existing ARM Linux model for passing MAC addresses, so that we
>>> can point people to that when they try to get u-boot to do silly
>>> things?
>>
>> To program them into the hardware registers,
>
> Isn't that adding a requirement to the boot firmware? I thought you
> didn't like that? :-)
>
> The patches that were proposed (and NACKed) in u-boot did exactly this
> -- except supposedly they would only set the MAC address if the
> interface were actually used prior to booting the kernel.
The patch proposed was only set the mac address in the register independtly
if you use the interface or not. But it will require that you enable the
interface driver.

Best Regards,
J.