From 2bc2a8f6dc9fdda465317da59474e65c24a398a2 Mon Sep 17 00:00:00 2001
From: "ksi@koi8.net" <ksi@koi8.net>
Date: Fri, 6 Feb 2009 16:27:55 -0800
Subject: [PATCH] Fix MPC8260 with ethernet on SCC

This fixes MPC8260 compilation with ethernet on SCC. Probably was a
typo or something...

Signed-off-by: Sergey Kubushyn <ksi@koi8.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
---
 cpu/mpc8260/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpu/mpc8260/cpu.c b/cpu/mpc8260/cpu.c
index f4beca55be..1b034cd574 100644
--- a/cpu/mpc8260/cpu.c
+++ b/cpu/mpc8260/cpu.c
@@ -327,7 +327,7 @@ int cpu_eth_init(bd_t *bis)
 	fec_initialize(bis);
 #endif
 #if defined(CONFIG_ETHER_ON_SCC)
-	mpc82xx_scc_enet_initialize(bd);
+	mpc82xx_scc_enet_initialize(bis);
 #endif
 	return 0;
 }
-- 
GitLab