summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-12-09 23:26:31 -0800
committerBen Warren <biggerbadderben@gmail.com>2008-12-09 23:26:31 -0800
commit4cd8ed40615a7d741ef2f09ee53779ec6907b8a6 (patch)
treeb09cdb242c1c09d8726eea070fea2c15991d61ae /cpu
parent97a24a78ee6f34b89b821cb70eda1cf34aa11d97 (diff)
downloadu-boot-imx-4cd8ed40615a7d741ef2f09ee53779ec6907b8a6.zip
u-boot-imx-4cd8ed40615a7d741ef2f09ee53779ec6907b8a6.tar.gz
u-boot-imx-4cd8ed40615a7d741ef2f09ee53779ec6907b8a6.tar.bz2
Fix compile error in building MBX860T.
Bug was introduced in 9eb79bd8856bcab896ed5e1f1bca159807a124dd Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc8xx/cpu.c2
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)