From patchwork Fri Feb 24 17:33:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Linz X-Patchwork-Id: 142957 X-Patchwork-Delegate: monstr@monstr.eu 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 9F121B6F9F for ; Sat, 25 Feb 2012 04:34:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6FD402807B; Fri, 24 Feb 2012 18:34:10 +0100 (CET) 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 lb9-bSP46gMG; Fri, 24 Feb 2012 18:34:09 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E67052807C; Fri, 24 Feb 2012 18:34:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CB6E82807C for ; Fri, 24 Feb 2012 18:34:01 +0100 (CET) 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 9jPC65nAYygZ for ; Fri, 24 Feb 2012 18:34:00 +0100 (CET) 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 mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160]) by theia.denx.de (Postfix) with ESMTPS id 6B6552807B for ; Fri, 24 Feb 2012 18:33:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1330104837; l=1193; s=domk; d=li-pro.net; h=Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=/7uak03GFuQQSuUgdAhQorXmLr4=; b=uQHsvfCvfR0vtbcMN5w+QaDw/5Y0KKFWhFMC8Z6kZvero0x5Vj1XO0CqW9lsD5O/LLu tsmeMkUNMV/bXxDtiYvv3jrbwgfZNgUI9BUtA1J2xa5Ir6RZmVWPJIkSz1t2y27XHDglz 2EYxErVPVFYr3fV/+P867NgWeXa9hkGE5bA= X-RZG-AUTH: :IGUKb2CkcrLHmZv+FHarxbxlXmJO7WRQLa+vsyW+4B7AQuz+obYpx3+qzj4= X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (i5E86D951.versanet.de [94.134.217.81]) by smtp.strato.de (klopstock mo44) (RZmta 27.7 AUTH) with ESMTPA id j011eeo1OHODBE ; Fri, 24 Feb 2012 18:33:42 +0100 (MET) From: Stephan Linz To: monstr@monstr.eu Date: Fri, 24 Feb 2012 18:33:41 +0100 Message-Id: <1330104821-8014-1-git-send-email-linz@li-pro.net> X-Mailer: git-send-email 1.7.0.4 Cc: Stephan Linz , u-boot@lists.denx.de Subject: [U-Boot] [PATCH] microblaze: Enable phylib and mii support 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Enable phylib and mii support for AXI EMAC ethernet drivers on Microblaze systems. Signed-off-by: Stephan Linz Reported-by: Michal Simek --- include/configs/microblaze-generic.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 03a6f5a..b76bbcf 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -338,4 +338,25 @@ #define CONFIG_FIT 1 #define CONFIG_OF_LIBFDT 1 +#if defined(CONFIG_XILINX_AXIEMAC) +# define CONFIG_MII 1 +# define CONFIG_CMD_MII 1 +# define CONFIG_PHY_GIGE 1 +# define CONFIG_SYS_FAULT_ECHO_LINK_DOWN 1 +# define CONFIG_PHYLIB 1 +# define CONFIG_PHY_ATHEROS 1 +# define CONFIG_PHY_BROADCOM 1 +# define CONFIG_PHY_DAVICOM 1 +# define CONFIG_PHY_LXT 1 +# define CONFIG_PHY_MARVELL 1 +# define CONFIG_PHY_MICREL 1 +# define CONFIG_PHY_NATSEMI 1 +# define CONFIG_PHY_REALTEK 1 +# define CONFIG_PHY_VITESSE 1 +#else +# undef CONFIG_MII +# undef CONFIG_CMD_MII +# undef CONFIG_PHYLIB +#endif + #endif /* __CONFIG_H */