From patchwork Mon Oct 15 17:00:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashok X-Patchwork-Id: 191599 X-Patchwork-Delegate: trini@ti.com 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 ED02B2C00B9 for ; Tue, 16 Oct 2012 04:00:32 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 407504A0A5; Mon, 15 Oct 2012 19:00:30 +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 2985726xEloN; Mon, 15 Oct 2012 19:00:29 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6AF114A0B3; Mon, 15 Oct 2012 19:00:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 168604A0B3 for ; Mon, 15 Oct 2012 19:00:25 +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 XsH4Qb2YpH4K for ; Mon, 15 Oct 2012 19:00:23 +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 mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by theia.denx.de (Postfix) with ESMTPS id D9ACA4A0A5 for ; Mon, 15 Oct 2012 19:00:20 +0200 (CEST) Received: by mail-pb0-f44.google.com with SMTP id ro8so5100508pbb.3 for ; Mon, 15 Oct 2012 10:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ZdRECbWjXDl3iVbseto7hFmGI6P6a+XFEAHT9y+73yU=; b=WAY4m+ZTD526J5dCG5Yubt5LOzUYLGUvEtj1NA3f3kSbp7DyCiQyzMiPHWy6H817dI vXmVPw9xedqa1CzZ3kzkqJqEd0ZszeTeuXL/Io8d2rqG/DL3LqfczoKKCDXhCI+y928O vyf1cQ627A1XLpadtuNApMmpJKcC+g1Wy1/rZuu6Mpsns0lj4cjicDuRdYTPoUqXFGK0 RVUzKL4z9GcSNNgJs0OUNBP6anPxceMgA1+8wfvHN8xQsOMphFjvImwAwBRRrNqT57cH u7/ae2Jnh3F87XF1UvarVwKHaIvQLMk3wzJp7EUP10OoMzkWQ7DJiP9JDX1aWsMaB+JO uTzg== Received: by 10.68.229.194 with SMTP id ss2mr39301442pbc.17.1350320417439; Mon, 15 Oct 2012 10:00:17 -0700 (PDT) Received: from [14.99.48.185] ([14.99.48.185]) by mx.google.com with ESMTPS id it6sm9321017pbc.14.2012.10.15.10.00.14 (version=SSLv3 cipher=OTHER); Mon, 15 Oct 2012 10:00:16 -0700 (PDT) Message-ID: <507C411E.90505@gmail.com> Date: Mon, 15 Oct 2012 22:30:14 +0530 From: Ashok Kumar Reddy User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: uboot mailing list , albert.u.boot@aribaud.net Subject: [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Remove unused CONFIG_DRIVER_SMC91111,CONFIG_DRIVER_LAN91C96, if required implement smc_set_mac_addr() in board init. Signed-off-by: Ashok Kumar Reddy Acked-by: Tom Rini --- Changes from v1: - Fixed typo arch/arm/lib/board.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 109a1ac..cb71b02 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@ -57,13 +57,6 @@ #include #endif -#ifdef CONFIG_DRIVER_SMC91111 -#include "../drivers/net/smc91111.h" -#endif -#ifdef CONFIG_DRIVER_LAN91C96 -#include "../drivers/net/lan91c96.h" -#endif - DECLARE_GLOBAL_DATA_PTR; ulong monitor_flash_len; @@ -593,16 +586,6 @@ void board_init_r(gd_t *id, ulong dest_addr) /* enable exceptions */ enable_interrupts(); - /* Perform network card initialisation if necessary */ -#if defined(CONFIG_DRIVER_SMC91111) || defined (CONFIG_DRIVER_LAN91C96) - /* XXX: this needs to be moved to board init */ - if (getenv("ethaddr")) { - uchar enetaddr[6]; - eth_getenv_enetaddr("ethaddr", enetaddr); - smc_set_mac_addr(enetaddr); - } -#endif /* CONFIG_DRIVER_SMC91111 || CONFIG_DRIVER_LAN91C96 */ - /* Initialize from environment */ load_addr = getenv_ulong("loadaddr", 16, load_addr);