From patchwork Sun May 1 21:10:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Guinot X-Patchwork-Id: 93577 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 6FC47B6F35 for ; Mon, 2 May 2011 07:11:35 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1C48D281A9; Sun, 1 May 2011 23:11:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gLEu3fvoKWUq; Sun, 1 May 2011 23:11:03 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 629D4281AA; Sun, 1 May 2011 23:10:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 383212818E for ; Sun, 1 May 2011 23:10:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8MAguOUMkeXs for ; Sun, 1 May 2011 23:10:34 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from ns39351.ovh.net (ns39351.ovh.net [91.121.21.191]) by theia.denx.de (Postfix) with ESMTP id D79D828189 for ; Sun, 1 May 2011 23:10:32 +0200 (CEST) Received: from localhost (87-98-128-90.ovh.net [87.98.128.90]) by ns39351.ovh.net (Postfix) with ESMTPSA id 73DCD24DCF; Sun, 1 May 2011 23:10:32 +0200 (CEST) From: Simon Guinot To: Prafulla Wadaskar , Albert ARIBAUD , Wolfgang Denk Date: Sun, 1 May 2011 23:10:19 +0200 Message-Id: <1304284220-15215-6-git-send-email-sguinot@lacie.com> X-Mailer: git-send-email 1.6.3.1 In-Reply-To: <1304284220-15215-1-git-send-email-sguinot@lacie.com> References: <1304284220-15215-1-git-send-email-sguinot@lacie.com> Cc: u-boot@lists.denx.de, Simon Guinot Subject: [U-Boot] [PATCH v2 5/6] netconsole: remove `serverip' check X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Netconsole use the environment variable `ncip' to configure the destination IP. `serverip' don't need to be defined. Signed-off-by: Simon Guinot --- net/net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index e50bdf1..5bf3c8c 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"); @@ -1729,6 +1728,7 @@ static int net_check_prereq (proto_t protocol) common: #endif + case NETCONS: if (NetOurIP == 0) { puts ("*** ERROR: `ipaddr' not set\n"); return (1);