* [U-Boot] [PATCH] 82xx, mgcoge: fix compile error
@ 2009-02-12 7:08 Heiko Schocher
2009-02-12 7:36 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Schocher @ 2009-02-12 7:08 UTC (permalink / raw)
To: u-boot
With actual u-boot compiling the mgcoge port fails, because
since commit ba705b5b1a97b47388ed48858bef6bf7b6bfcd56 it is
necessary to define CONFIG_NET_MULTI.
[hs at pollux u-boot]$ ./MAKEALL mgcoge
Configuring for mgcoge board...
ether_scc.c:47:2: error: #error "CONFIG_NET_MULTI must be defined."
ether_scc.c:47:2: error: #error "CONFIG_NET_MULTI must be defined."
make[1]: *** [ether_scc.o] Fehler 1
make: *** [cpu/mpc8260/libmpc8260.a] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
ppc_82xx-size: './u-boot': No such file
[hs at pollux u-boot]$
Seems to me the mgcoge port is the only actual existing 8260
port who uses CONFIG_ETHER_ON_SCC, so no other 8260 port needed
to be fixed.
Signed-off-by: Heiko Schocher <hs@denx.de>
---
include/configs/mgcoge.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
index 233bee0..b5d12c6 100644
--- a/include/configs/mgcoge.h
+++ b/include/configs/mgcoge.h
@@ -64,6 +64,7 @@
#define CONFIG_ETHER_ON_SCC /* Ethernet is on SCC */
#undef CONFIG_ETHER_ON_FCC /* Ethernet is not on FCC */
#undef CONFIG_ETHER_NONE /* No external Ethernet */
+#define CONFIG_NET_MULTI 1
#define CONFIG_ETHER_INDEX 4
#define CONFIG_SYS_SCC_TOUT_LOOP 10000000
--
1.6.0.6
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] 82xx, mgcoge: fix compile error
2009-02-12 7:08 [U-Boot] [PATCH] 82xx, mgcoge: fix compile error Heiko Schocher
@ 2009-02-12 7:36 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2009-02-12 7:36 UTC (permalink / raw)
To: u-boot
Dear Heiko Schocher,
In message <4993CB06.9020605@denx.de> you wrote:
> With actual u-boot compiling the mgcoge port fails, because
> since commit ba705b5b1a97b47388ed48858bef6bf7b6bfcd56 it is
> necessary to define CONFIG_NET_MULTI.
>
> [hs at pollux u-boot]$ ./MAKEALL mgcoge
> Configuring for mgcoge board...
> ether_scc.c:47:2: error: #error "CONFIG_NET_MULTI must be defined."
> ether_scc.c:47:2: error: #error "CONFIG_NET_MULTI must be defined."
> make[1]: *** [ether_scc.o] Fehler 1
> make: *** [cpu/mpc8260/libmpc8260.a] Fehler 2
> make: *** Warte auf noch nicht beendete Prozesse...
> ppc_82xx-size: './u-boot': No such file
> [hs at pollux u-boot]$
>
> Seems to me the mgcoge port is the only actual existing 8260
> port who uses CONFIG_ETHER_ON_SCC, so no other 8260 port needed
> to be fixed.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
> include/configs/mgcoge.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks. [I shortened the commit message a bit.]
Best regards,
Wolfgang Denk
--
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
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
-- McCoy, "The Omega Glory", stardate unknown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-12 7:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12 7:08 [U-Boot] [PATCH] 82xx, mgcoge: fix compile error Heiko Schocher
2009-02-12 7:36 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.