public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephan Linz <linz@li-pro.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] microblaze: Enable several ethernet driver compilation
Date: Sat, 25 Feb 2012 12:06:18 +0100	[thread overview]
Message-ID: <1330167978.3721.24.camel@keto> (raw)
In-Reply-To: <d30689accb0078c8318165a43564b9596bc60388.1330161511.git.linz@li-pro.net>

Note: this patch depends on commit "microblaze: Enable phylib and mii
support" (http://patchwork.ozlabs.org/patch/142957/)

br-
Stephan

Am Samstag, den 25.02.2012, 11:48 +0100 schrieb Stephan Linz: 
> U-Boot's multipple network supports enables to use
> several ethernet drivers but microblaze-generic
> platform config file select only one driver.
> 
> Reported-by: Michal Simek <monstr@monstr.eu>
> Signed-off-by: Stephan Linz <linz@li-pro.net>
> ---
>  include/configs/microblaze-generic.h |   11 ++++++-----
>  1 files changed, 6 insertions(+), 5 deletions(-)
> 
> diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
> index 9f66fbf..efca136 100644
> --- a/include/configs/microblaze-generic.h
> +++ b/include/configs/microblaze-generic.h
> @@ -65,11 +65,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
>  #if defined(XILINX_AXIEMAC_BASEADDR)
> @@ -339,7 +340,7 @@
>  #define CONFIG_FIT		1
>  #define CONFIG_OF_LIBFDT	1
>  
> -#if defined(CONFIG_XILINX_AXIEMAC)
> +#if defined(CONFIG_XILINX_LL_TEMAC) || defined(CONFIG_XILINX_AXIEMAC)
>  # define CONFIG_MII		1
>  # define CONFIG_CMD_MII		1
>  # define CONFIG_PHY_GIGE	1

-- 
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

  reply	other threads:[~2012-02-25 11:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-25 10:48 [U-Boot] [PATCH 1/4] net: ll_temac: Add LL TEMAC driver to u-boot Stephan Linz
2012-02-25 10:48 ` [U-Boot] [PATCH 2/4] microblaze: Enable several ethernet driver compilation Stephan Linz
2012-02-25 11:06   ` Stephan Linz [this message]
2012-04-04 16:14     ` Joe Hershberger
2012-02-25 10:48 ` [U-Boot] [PATCH 3/4] microblaze: Add faked LL_TEMAC driver configuration Stephan Linz
2012-04-04 16:14   ` Joe Hershberger
2012-02-25 10:48 ` [U-Boot] [PATCH 4/4] microblaze: Wire up LL_TEMAC driver initialization Stephan Linz
2012-04-04 16:15   ` Joe Hershberger
2012-03-27 12:25 ` [U-Boot] [PATCH 1/4] net: ll_temac: Add LL TEMAC driver to u-boot Michal Simek
2012-03-27 16:22   ` Joe Hershberger
2012-03-28  7:53     ` Michal Simek
2012-03-30 22:07       ` Stephan Linz
2012-04-04 16:12         ` Joe Hershberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1330167978.3721.24.camel@keto \
    --to=linz@li-pro.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox