diff options
author | wdenk <wdenk> | 2004-07-09 23:27:13 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-07-09 23:27:13 +0000 |
commit | 0ac6f8b7498d3608bd1de2280a014e9e23d7b1f2 (patch) | |
tree | de6ad6c1ee05c1ebcee774a2e8c772e7b2e57586 /net | |
parent | 262381329b87511ed862cde139a3a1ff49e9d7eb (diff) | |
download | u-boot-imx-0ac6f8b7498d3608bd1de2280a014e9e23d7b1f2.zip u-boot-imx-0ac6f8b7498d3608bd1de2280a014e9e23d7b1f2.tar.gz u-boot-imx-0ac6f8b7498d3608bd1de2280a014e9e23d7b1f2.tar.bz2 |
Patch by Jon Loeliger, 17 June 2004:
Completion of the 8540ADS/8560ADS updates:
Fix some PCI and Rapid I/O memory maps,
Initialize both TSEC 1 and 2,
Initialize SDRAM
Update MAINTAINER for 85xx boards and README.mpc85xxads
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -51,7 +51,7 @@ extern int rtl8139_initialize(bd_t*); extern int rtl8169_initialize(bd_t*); extern int scc_initialize(bd_t*); extern int skge_initialize(bd_t*); -extern int tsec_initialize(bd_t*); +extern int tsec_initialize(bd_t*, int); static struct eth_device *eth_devices, *eth_current; @@ -147,8 +147,14 @@ int eth_initialize(bd_t *bis) #if defined(CONFIG_SK98) skge_initialize(bis); #endif -#ifdef CONFIG_TSEC_ENET - tsec_initialize(bis); +#if defined(CONFIG_MPC85XX_TSEC1) + tsec_initialize(bis, 0); +#endif +#if defined(CONFIG_MPC85XX_TSEC2) + tsec_initialize(bis, 1); +#endif +#if defined(CONFIG_MPC85XX_FEC) + tsec_initialize(bis, 2); #endif #if defined(CONFIG_AU1X00) au1x00_enet_initialize(bis); |