From: Stephan Linz Date: Sun, 27 Nov 2011 18:59:45 +0100 Subject: [U-Boot] [PATCH 6/8] microblaze: Enable several ethernet driver compilation In-Reply-To: <1314788276-26107-7-git-send-email-monstr@monstr.eu> References: <1314788276-26107-1-git-send-email-monstr@monstr.eu> <1314788276-26107-2-git-send-email-monstr@monstr.eu> <1314788276-26107-3-git-send-email-monstr@monstr.eu> <1314788276-26107-4-git-send-email-monstr@monstr.eu> <1314788276-26107-5-git-send-email-monstr@monstr.eu> <1314788276-26107-6-git-send-email-monstr@monstr.eu> <1314788276-26107-7-git-send-email-monstr@monstr.eu> Message-ID: <1322416785.3870.329.camel@keto> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Mittwoch, den 31.08.2011, 12:57 +0200 schrieb Michal Simek: > NET_MULTI enables to use several ethernet drivers but > microblaze-generic platform config file select only > one driver. > > Signed-off-by: Michal Simek Acked-by: Stephan Linz > --- > include/configs/microblaze-generic.h | 9 +++++---- > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h > index c526006..4c76afd 100644 > --- a/include/configs/microblaze-generic.h > +++ b/include/configs/microblaze-generic.h > @@ -63,11 +63,12 @@ > > /* ethernet */ > #undef CONFIG_SYS_ENET > -#ifdef XILINX_EMACLITE_BASEADDR > -# define CONFIG_XILINX_EMACLITE 1 > +#if defined(XILINX_EMACLITE_BASEADDR) > +# define CONFIG_XILINX_EMACLITE 1 > # define CONFIG_SYS_ENET > -#elif XILINX_LLTEMAC_BASEADDR > -# define CONFIG_XILINX_LL_TEMAC 1 > +#endif > +#if defined(XILINX_LLTEMAC_BASEADDR) > +# define CONFIG_XILINX_LL_TEMAC 1 > # define CONFIG_SYS_ENET > #endif > -- Viele Gr??e, Stephan Linz ______________________________________________________________________________ MB-Ref: http://www.li-pro.de/xilinx_mb:mbref:start OpenDCC: http://www.li-pro.net/opendcc.phtml PC/M: http://www.li-pro.net/pcm.phtml Sourceforge: http://sourceforge.net/users/slz Gitorious: https://gitorious.org/~slz