[U-Boot] [PATCH] ppc4xx: Add CATCenter Io 405EP board support
    Stefan Roese 
    sr at denx.de
       
    Wed Oct 13 11:29:04 CEST 2010
    
    
  
On Wednesday 13 October 2010 10:23:26 Eibach, Dirk wrote:
> > > +
> > > +#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?
From looking at the code it seems there is a CONFIG_BITBANGMII_MULTI config 
option to enable board specific commands for GPIO access. Take a look at 
doc/README.bitbangMII for more details.
Cheers,
Stefan
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
    
    
More information about the U-Boot
mailing list