From 9eb79bd8856bcab896ed5e1f1bca159807a124dd Mon Sep 17 00:00:00 2001 From: Ben Warren Date: Thu, 23 Oct 2008 22:02:49 -0700 Subject: Moved initialization of MPC8XX SCC to cpu_eth_init() Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren --- cpu/mpc8xx/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpu/mpc8xx') diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c index de3d67960..40f81efc3 100644 --- a/cpu/mpc8xx/cpu.c +++ b/cpu/mpc8xx/cpu.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -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 -- cgit v1.2.3