Skip to contentSkip to conversation

Fix compile error in building MBX860T.

PATCH New Ben Warren 2 participants 2 messages Dec 10, 2008

lore
Share & tools
lore

Ben Warren

author
#0 lore raw

PATCH 1/1 Fix compile error in building MBX860T.

---
 cpu/mpc8xx/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/mpc8xx/cpu.c +1 -1
index 40f81ef..2eb848b 100644
@@ -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)
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 Fix compile error in building MBX860T.

Dear Ben Warren,

Quoted 4 lines · In message <[email protected]> you…
---
 cpu/mpc8xx/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Uncontrolled power will turn even saints into savages. And we can all
be counted on to live down to our lowest impulses.
	-- Parmen, "Plato's Stepchildren", stardate 5784.3