MMC cards support

Björn König bkoenig at alpha-tierchen.de
Tue Dec 18 01:15:33 PST 2007


> On Mon, Dec 17, 2007 at 02:40:00PM -0700 M. Warner Losh mentioned:
>>
>> Hmmm, We got a patch to look at all the SAxL/H pairs for an address.
>> I thought it was crazy to do that, but if uboot does this for some
>> reason, then I'll be the first to admit that I was wrong and add the
>> extra bits back.
>>
> Probably we can look MAC in higher registers, if lower didn't contained
> valid one.
>
> I need to check if u-boot really does this first, though.

u-boot definitely uses the second register set. I wrote a patch a few
months ago and sent it to this mailing list because I had exactly the same
problem. It changes ate_get_mac so that it probes all four register sets
beginning at the first and it stops if the MAC is != 0.

Björn




More information about the freebsd-arm mailing list