[U-Boot-Users] [PATCH] Add support for Generic PHY in macb

Haavard Skinnemoen hskinnemoen at atmel.com
Fri Feb 22 13:52:09 CET 2008


On Fri, 22 Feb 2008 12:27:48 +0000 (GMT)
Michael Trimarchi <trimarchimichael at yahoo.it> wrote:

> When I read to my id u-boot report 0xffff and fail, but
> the device works pretty well skipping this testing. 
> If I remember linux report the same issue.

Is the MII address of your PHY set correctly?

All MII-capable PHYs should have a working PHYSID1 register. If it
doesn't, something is broken.

So I think the CONFIG_GENERIC_PHY name is misleading -- the test is
generic enough as is. CONFIG_BROKEN_PHY would be better, if there's
really no way to get your PHY to behave.

But note that if MDIO communication isn't working, autonegotiation
won't work, and the speed and duplex settings will most likely be
wrong. So I don't think simply #ifdefing out that sanity check is
really going to solve any problems.

Haavard




More information about the U-Boot mailing list