>... 
> <snip>
> 
> > +/* Gbit PHYs */
> > +#define CONFIG_BITBANGMII          /* bit-bang MII PHY 
> management    */
> > +
> > +#define CONFIG_SYS_MDIO_PIN  (0x80000000 >> 13)     /* our 
> MDIO is GPIO0 
> */
> > +#define CONFIG_SYS_MDC_PIN   (0x80000000 >> 7)      /* our 
> MDC  is GPIO7  
> */
> > +
> > +#define MDIO_ACTIVE        out32(GPIO0_TCR, in32(GPIO0_TCR) |
> > CONFIG_SYS_MDIO_PIN)
> 
> Use out_be32() accessors here and below.
> 
> Please fix and resubmit. Thanks.

To make this work, drivers/net/phy/miiphybb.c would have to include
asm/io.h somehow. What would be the right way to achieve this?

> Cheers,
> Stefan

Cheers
Dirk


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to