diff options
author | Stefan Roese <sr@denx.de> | 2005-09-07 14:21:12 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2005-09-07 14:21:12 (GMT) |
commit | 4a3cd9e6557447f024f263bf45168d19f509581e (patch) | |
tree | 9522a38b0d840ad8c10ca84b6de21c0d19785d5a /cpu | |
parent | 9d2a873bdf72a7c615c9c7ac55357085d0299716 (diff) | |
download | u-boot-4a3cd9e6557447f024f263bf45168d19f509581e.tar.xz |
Fix problem in 440GP ethernet driver (ebony). Add support for 2nd
ethernet port on ebony.
Patch by Stefan Roese, 7 Sep 2005
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/ppc4xx/4xx_enet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c index 7766f9a..79be865 100644 --- a/cpu/ppc4xx/4xx_enet.c +++ b/cpu/ppc4xx/4xx_enet.c @@ -365,6 +365,9 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis) out32 (ZMII_FER, (ZMII_FER_RMII | ZMII_FER_MDI) << ZMII_FER_V (devnum)); #elif defined(CONFIG_440GX) ethgroup = ppc_4xx_eth_setup_bridge(devnum, bis); +#elif defined(CONFIG_440GP) + /* set RMII mode */ + out32 (ZMII_FER, ZMII_RMII | ZMII_MDI0); #else if ((devnum == 0) || (devnum == 1)) { out32 (ZMII_FER, (ZMII_FER_SMII | ZMII_FER_MDI) << ZMII_FER_V (devnum)); |