summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-10-23 22:02:49 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-11-09 21:38:03 -0800
commit9eb79bd8856bcab896ed5e1f1bca159807a124dd (patch)
tree7c8e643d46ee8ef95b0f254236073e8694797aa9 /cpu/mpc8xx
parenta9bec96d6359ac9f90a852962bf3040cad9e0256 (diff)
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/mpc8xx')
-rw-r--r--cpu/mpc8xx/cpu.c4
1 files changed, 4 insertions, 0 deletions
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 <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