[U-Boot] [PATCH 5/6] netconsole: remove `serverip' check

Simon Guinot simon.guinot at sequanux.org
Sun May 1 17:04:03 CEST 2011


From: Simon Guinot <sguinot at lacie.com>

Netconsole use the environment variable `ncip' to configure the
destination IP. `serverip' don't need to be defined.

Signed-off-by: Simon Guinot <sguinot at lacie.com>
---
 net/net.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/net.c b/net/net.c
index e50bdf1..63b4201 100644
--- a/net/net.c
+++ b/net/net.c
@@ -1718,7 +1718,6 @@ static int net_check_prereq (proto_t protocol)
 #if defined(CONFIG_CMD_NFS)
 	case NFS:
 #endif
-	case NETCONS:
 	case TFTP:
 		if (NetServerIP == 0) {
 			puts ("*** ERROR: `serverip' not set\n");
-- 
1.6.3.1



More information about the U-Boot mailing list