diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-10-23 22:02:49 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-11-09 21:38:03 -0800 |
commit | 9eb79bd8856bcab896ed5e1f1bca159807a124dd (patch) | |
tree | 7c8e643d46ee8ef95b0f254236073e8694797aa9 /cpu | |
parent | a9bec96d6359ac9f90a852962bf3040cad9e0256 (diff) | |
download | u-boot-imx-9eb79bd8856bcab896ed5e1f1bca159807a124dd.zip u-boot-imx-9eb79bd8856bcab896ed5e1f1bca159807a124dd.tar.gz u-boot-imx-9eb79bd8856bcab896ed5e1f1bca159807a124dd.tar.bz2 |
Moved initialization of MPC8XX SCC to cpu_eth_init()
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc8xx/cpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c index de3d679..40f81ef 100644 --- a/cpu/mpc8xx/cpu.c +++ b/cpu/mpc8xx/cpu.c @@ -37,6 +37,7 @@ #include <watchdog.h> #include <command.h> #include <mpc8xx.h> +#include <commproc.h> #include <netdev.h> #include <asm/cache.h> @@ -643,6 +644,9 @@ void reset_8xx_watchdog (volatile immap_t * immr) */ int cpu_eth_init(bd_t *bis) { +#if defined(SCC_ENET) + scc_initialize(bis); +#endif #if defined(FEC_ENET) fec_initialize(bis); #endif |