]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix compile error in building MBX860T.
authorBen Warren <biggerbadderben@gmail.com>
Wed, 10 Dec 2008 07:34:15 +0000 (23:34 -0800)
committerWolfgang Denk <wd@denx.de>
Wed, 10 Dec 2008 08:26:42 +0000 (09:26 +0100)
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
cpu/mpc8xx/cpu.c

index 40f81efc3c6eaf968e5f3020ba1767606cd20ebb..2eb848bd0ef23f59902235f3d1993d4059a35b5c 100644 (file)
@@ -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)