summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx/cpu.c
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-12-09 23:34:15 -0800
committerWolfgang Denk <wd@denx.de>2008-12-10 09:26:42 +0100
commit2145188bea2df8f2b47a87ec3071b55027e8d0ae (patch)
treec444a42da38a828783ac80b128cd516e90294b3d /cpu/mpc8xx/cpu.c
parentbcb6dd9187d4b23c748704767bd12d20c829e996 (diff)
downloadu-boot-imx-2145188bea2df8f2b47a87ec3071b55027e8d0ae.zip
u-boot-imx-2145188bea2df8f2b47a87ec3071b55027e8d0ae.tar.gz
u-boot-imx-2145188bea2df8f2b47a87ec3071b55027e8d0ae.tar.bz2
Fix compile error in building MBX860T.
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'cpu/mpc8xx/cpu.c')
-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)