From: Ben Warren Date: Wed, 10 Dec 2008 07:34:15 +0000 (-0800) Subject: Fix compile error in building MBX860T. X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2145188bea2df8f2b47a87ec3071b55027e8d0ae;p=u-boot.git Fix compile error in building MBX860T. Signed-off-by: Ben Warren --- diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c index 40f81efc3c..2eb848bd0e 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)