[U-Boot-Users] [PATCH] Add Vitesse 8601 support to TSEC driver

Andy Fleming afleming at gmail.com
Tue Apr 1 15:42:21 CEST 2008


On Tue, Apr 1, 2008 at 8:33 AM, Andre Schwarz
<andre.schwarz at matrix-vision.de> wrote:
> Tor,
>
>  after investigating the tsec code I'm wondering how your PHY  works in
>  RGMII mode ...
>
>  I think that there are some things missing, e.g. taking RGMII into
>  account during tsec_init.
>
>  /* Init ECNTRL */
>         regs->ecntrl = ECNTRL_INIT_SETTINGS;

If you look carefully, you'll notice that ecntrl's RPM bit is
read-only.  Those bits are configured by POR pin strappings.

You may be more familiar with the UEC, which doesn't automatically
detect the link type, but is otherwise fairly similar to the tsec.

Andy




More information about the U-Boot mailing list