diff options
author | Hannes Petermaier <oe5hpm@oevsv.at> | 2014-06-13 06:25:29 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 11:19:05 -0400 |
commit | 1f9ce3063cd723a1dcf0d02070f07c59491cf6f9 (patch) | |
tree | e834ae37b3883d741a979fbb17d4095041c29df1 /net | |
parent | 2b9912e6a7df7b1f60beb7942bd0e6fa5f9d0167 (diff) | |
download | u-boot-imx-1f9ce3063cd723a1dcf0d02070f07c59491cf6f9.zip u-boot-imx-1f9ce3063cd723a1dcf0d02070f07c59491cf6f9.tar.gz u-boot-imx-1f9ce3063cd723a1dcf0d02070f07c59491cf6f9.tar.bz2 |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 4 |
1 files changed, 2 insertions, 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), |