summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-11-30 13:06:40 +0100
committerStefan Roese <sr@denx.de>2005-11-30 13:06:40 +0100
commitd96f41e0165f1bdc16eacf79ba1654c8f45fa71a (patch)
treee8aaf6e9cfdcf8468f84703d2ae2647f6461efb2 /net/eth.c
parenta46726fdba86d02353529a98f26cd1384f991d40 (diff)
Add support for TQM8541/8555 boards, TQM85xx support reworked:
- Support for TQM8541/8555 boards added. - Complete rework of TQM8540/8560 support. - Common TQM85xx code now supports all current TQM85xx platforms (TQM8540/8541/8555/8560). - DDR SDRAM size detection added. - CAS latency default values can be overwritten by setting "serial#" to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used. If problems are detected with this non default CAS latency, the defualt values will be used instead. - FLASH size detection added. - Moved FCC ethernet driver initialization behind TSEC driver init -> TSEC is first device. Patch by Stefan Roese, 30 Nov 2005
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/eth.c b/net/eth.c
index b4ff5eff630..66884eff027 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -157,9 +157,6 @@ int eth_initialize(bd_t *bis)
#ifdef SCC_ENET
scc_initialize(bis);
#endif
-#if defined(FEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
- fec_initialize(bis);
-#endif
#if defined(CONFIG_MPC5xxx_FEC)
mpc5xxx_fec_initialize(bis);
#endif
@@ -193,6 +190,9 @@ int eth_initialize(bd_t *bis)
tsec_initialize(bis, 3, CONFIG_MPC83XX_TSEC4_NAME);
# endif
#endif
+#if defined(FEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
+ fec_initialize(bis);
+#endif
#if defined(CONFIG_AU1X00)
au1x00_enet_initialize(bis);
#endif