[U-Boot] [PATCH] Fix compile error in building MBX860T.

Ben Warren biggerbadderben at gmail.com
Wed Dec 10 08:34:15 CET 2008


Signed-off-by: Ben Warren <biggerbadderben at gmail.com>
---
 cpu/mpc8xx/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c
index 40f81ef..2eb848b 100644
--- a/cpu/mpc8xx/cpu.c
+++ b/cpu/mpc8xx/cpu.c
@@ -644,7 +644,7 @@ void reset_8xx_watchdog (volatile immap_t * immr)
  */
 int cpu_eth_init(bd_t *bis)
 {
-#if defined(SCC_ENET)
+#if defined(SCC_ENET) && defined(CONFIG_CMD_NET)
 	scc_initialize(bis);
 #endif
 #if defined(FEC_ENET)
-- 
1.5.4.3



More information about the U-Boot mailing list