Patchwork [U-Boot,3/3] microblaze: Wire up OF support for emaclite

login
register
mail settings
Submitter Stephan Linz
Date July 4, 2012, 8:25 p.m.
Message ID <1341433531-18124-3-git-send-email-linz@li-pro.net>
Download mbox | patch
Permalink /patch/169046/
State Accepted
Delegated to: Michal Simek
Headers show

Comments

Stephan Linz - July 4, 2012, 8:25 p.m.
- expand the condition with CONFIG_OF_CONTROL

Signed-off-by: Stephan Linz <linz@li-pro.net>
---
 include/configs/microblaze-generic.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Simon Glass - July 9, 2012, 9:42 p.m.
On Wed, Jul 4, 2012 at 1:25 PM, Stephan Linz <linz@li-pro.net> wrote:

>     - expand the condition with CONFIG_OF_CONTROL
>
> Signed-off-by: Stephan Linz <linz@li-pro.net>
>

Acked-by: Simon Glass <sjg@chromium.org>


> ---
>  include/configs/microblaze-generic.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/configs/microblaze-generic.h
> b/include/configs/microblaze-generic.h
> index 386189f..01e3421 100644
> --- a/include/configs/microblaze-generic.h
> +++ b/include/configs/microblaze-generic.h
> @@ -79,7 +79,7 @@
>
>  /* ethernet */
>  #undef CONFIG_SYS_ENET
> -#if defined(XILINX_EMACLITE_BASEADDR)
> +#if defined(XILINX_EMACLITE_BASEADDR) || defined(CONFIG_OF_CONTROL)
>  # define CONFIG_XILINX_EMACLITE        1
>  # define CONFIG_SYS_ENET
>  #endif
> --
> 1.7.0.4
>
>
Michal Simek - July 10, 2012, 8:04 a.m.
On 07/09/2012 11:42 PM, Simon Glass wrote:
> On Wed, Jul 4, 2012 at 1:25 PM, Stephan Linz <linz@li-pro.net <mailto:linz@li-pro.net>> wrote:
>
>          - expand the condition with CONFIG_OF_CONTROL
>
>     Signed-off-by: Stephan Linz <linz@li-pro.net <mailto:linz@li-pro.net>>
>
>
> Acked-by: Simon Glass <sjg@chromium.org <mailto:sjg@chromium.org>>

Will be added to Microblaze tree when emaclite dts patch is applied.

Thanks,
Michal

Patch

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 386189f..01e3421 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -79,7 +79,7 @@ 
 
 /* ethernet */
 #undef CONFIG_SYS_ENET
-#if defined(XILINX_EMACLITE_BASEADDR)
+#if defined(XILINX_EMACLITE_BASEADDR) || defined(CONFIG_OF_CONTROL)
 # define CONFIG_XILINX_EMACLITE	1
 # define CONFIG_SYS_ENET
 #endif