1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-29 22:41:17 +02:00

fix: CONFIG_NETCONSOLE start/handle this stuff only outside SPL

SPL stage does not support various networking things, and therefore
CONFIG_NETCONSOLE cannot be built within SPL.

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
This commit is contained in:
Hannes Petermaier
2014-06-13 06:25:29 +02:00
committed by Tom Rini
parent 2b9912e6a7
commit 1f9ce3063c

View File

@@ -419,7 +419,7 @@ restart:
CDPStart(); CDPStart();
break; break;
#endif #endif
#ifdef CONFIG_NETCONSOLE #if defined (CONFIG_NETCONSOLE) && !(CONFIG_SPL_BUILD)
case NETCONS: case NETCONS:
NcStart(); NcStart();
break; break;
@@ -1182,7 +1182,7 @@ NetReceive(uchar *inpkt, int len)
#endif #endif
#ifdef CONFIG_NETCONSOLE #if defined (CONFIG_NETCONSOLE) && !(CONFIG_SPL_BUILD)
nc_input_packet((uchar *)ip + IP_UDP_HDR_SIZE, nc_input_packet((uchar *)ip + IP_UDP_HDR_SIZE,
src_ip, src_ip,
ntohs(ip->udp_dst), ntohs(ip->udp_dst),