82xx, mgcoge: fix compile error
PATCH 1/1 82xx, mgcoge: fix compile error
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.
--- include/configs/mgcoge.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/mgcoge.h +1 -0
@@ -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
Signature · 5 lines
1.6.0.6 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Wolfgang Denk
AppliedPATCH 1/1 82xx, mgcoge: fix compile error
Dear Heiko Schocher,
Quoted 14 lines · In message <[email protected]> you wrote:
With actual u-boot compiling the mgcoge port fails, because since commit
ba705b5b1a97b47388ed48858bef6bf7b6bfcd56it is necessary to defineCONFIG_NET_MULTI.[hs at pollux u-boot]$ ./MAKEALL mgcoge
Configuring for mgcoge board...
ether_scc.c:47:2: error: #error "CONFIG_NET_MULTImust be defined." ether_scc.c:47:2: error: #error "CONFIG_NET_MULTImust 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]$
Quoted 8 lines
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 <[email protected]>--- 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
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 ... bacteriological warfare ... hard to believe we were once foolish enough to play around with that. -- McCoy, "The Omega Glory", stardate unknown