[U-Boot] [PATCH] 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@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@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

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@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@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
participants (2)
-
Heiko Schocher
-
Wolfgang Denk