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

Michael Schwingen rincewind at discworld.dascon.de
Fri Feb 22 17:22:24 CET 2008


Haavard Skinnemoen wrote:
> Yes, we could do that. But it comes with its own share of problems --
> some boards have a too weak pull-up (or none at all) on the MDIO line,
> so the probing code sometimes thinks it has found a whole bunch of
> PHYs...
>   
And you have to know which PHY belongs to which MII port - for example, 
the IXP420 has two MII busses, but only one shared MDIO, so PHY 
addresses can not be autodetected - you need some kind of board-specific 
table/code that defines the mapping between PHY addresses and MII 
busses. Which is basically what we have now, in the form of 
CONFIG_PHY*_ADDR ;-)

cu
Michael





More information about the U-Boot mailing list