From patchwork Sun May 1 15:04:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Guinot X-Patchwork-Id: 93553 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 EAD23B6F7B for ; Mon, 2 May 2011 01:11:36 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7BB1B280E4; Sun, 1 May 2011 17:11:19 +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 uYMzsXhvOM4K; Sun, 1 May 2011 17:11:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9112D280DD; Sun, 1 May 2011 17:11:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7D366280CF for ; Sun, 1 May 2011 17:11:01 +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 4JS3DDrJmbgf for ; Sun, 1 May 2011 17:11:01 +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 0AA43280D8 for ; Sun, 1 May 2011 17:10:58 +0200 (CEST) Received: from localhost (87-98-128-90.ovh.net [87.98.128.90]) by ns39351.ovh.net (Postfix) with ESMTPSA id 294B624DCF; Sun, 1 May 2011 17:04:25 +0200 (CEST) From: Simon Guinot To: Prafulla Wadaskar , Albert ARIBAUD Date: Sun, 1 May 2011 17:04:03 +0200 Message-Id: <1304262244-13788-6-git-send-email-simon.guinot@sequanux.org> X-Mailer: git-send-email 1.6.3.1 In-Reply-To: <1304262244-13788-1-git-send-email-simon.guinot@sequanux.org> References: <1304262244-13788-1-git-send-email-simon.guinot@sequanux.org> Cc: u-boot@lists.denx.de, Simon Guinot Subject: [U-Boot] [PATCH 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 From: Simon Guinot 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 | 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");