From: Simon Guinot Date: Sun, 1 May 2011 23:38:40 +0000 (+0000) Subject: netconsole: remove `serverip' check X-Git-Tag: v2011.06-rc1~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8b6bbe104f908296722248eb1a430bc45d628fcf;p=u-boot netconsole: remove `serverip' check Netconsole use the environment variable `ncip' to configure the destination IP. `serverip' don't need to be defined. Signed-off-by: Simon Guinot --- diff --git a/net/net.c b/net/net.c index e50bdf17be..19ac0196b5 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"); @@ -1728,7 +1727,9 @@ static int net_check_prereq (proto_t protocol) defined(CONFIG_CMD_DNS) common: #endif + /* Fall through */ + case NETCONS: if (NetOurIP == 0) { puts ("*** ERROR: `ipaddr' not set\n"); return (1);