[PATCH] [POWERPC] AMCC Kilauea (405EX): Disable EMAC loopback mode

Stefan Roese sr at denx.de
Sat Feb 23 08:49:58 EST 2008


On Friday 22 February 2008, Josh Boyer wrote:
> On Fri, 22 Feb 2008 09:32:12 +0100
>
> Stefan Roese <sr at denx.de> wrote:
> > 405EX(r) has SDR0_MFR[E0CS/E1CS] set after reset. This selects
> > the internal loopback mode. Clear these bits so that both EMACs
> > don't use loopback mode as default.
> >
> > Signed-off-by: Stefan Roese <sr at denx.de>
> > ---
> > I'm not sure if this should be done here in the board platform code,
> > or in the newemac driver or perhaps in some code common for 405EX.
> >
> > Any thoughts on this welcome.
>
> Why isn't this done in U-Boot?  Or is it done if the network interface
> is used?

Correct. It's only done upon EMAC usage in U-Boot. So when booting completely 
from FLASH, EMAC in Linux is not working.

Best regards,
Stefan



More information about the Linuxppc-dev mailing list