mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00: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:
parent
2b9912e6a7
commit
1f9ce3063c
1 changed files with 2 additions and 2 deletions
|
@ -419,7 +419,7 @@ restart:
|
|||
CDPStart();
|
||||
break;
|
||||
#endif
|
||||
#ifdef CONFIG_NETCONSOLE
|
||||
#if defined (CONFIG_NETCONSOLE) && !(CONFIG_SPL_BUILD)
|
||||
case NETCONS:
|
||||
NcStart();
|
||||
break;
|
||||
|
@ -1182,7 +1182,7 @@ NetReceive(uchar *inpkt, int len)
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_NETCONSOLE
|
||||
#if defined (CONFIG_NETCONSOLE) && !(CONFIG_SPL_BUILD)
|
||||
nc_input_packet((uchar *)ip + IP_UDP_HDR_SIZE,
|
||||
src_ip,
|
||||
ntohs(ip->udp_dst),
|
||||
|
|
Loading…
Add table
Reference in a new issue