[U-Boot] [PATCH] ppc4xx: Add CATCenter Io 405EP board support

Eibach, Dirk Eibach at gdsys.de
Wed Oct 13 10:23:26 CEST 2010


>... 
> <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




More information about the U-Boot mailing list