diff mbox

[U-Boot,8/8] microblaze: Enable phylib support

Message ID 1314788276-26107-9-git-send-email-monstr@monstr.eu
State Accepted
Delegated to: Michal Simek
Headers show

Commit Message

Michal Simek Aug. 31, 2011, 10:57 a.m. UTC
Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 include/configs/microblaze-generic.h |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

Comments

Stephan Linz Nov. 27, 2011, 6 p.m. UTC | #1
Am Mittwoch, den 31.08.2011, 12:57 +0200 schrieb Michal Simek: 
> Signed-off-by: Michal Simek <monstr@monstr.eu>

Acked-by: Stephan Linz <linz@li-pro.net>

> ---
>  include/configs/microblaze-generic.h |   19 +++++++++++++++++++
>  1 files changed, 19 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
> index f56d0e2..d3f0018 100644
> --- a/include/configs/microblaze-generic.h
> +++ b/include/configs/microblaze-generic.h
> @@ -339,4 +339,23 @@
>  #define CONFIG_FIT		1
>  #define CONFIG_OF_LIBFDT	1
>  
> +#if defined(CONFIG_XILINX_LL_TEMAC) || 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_PHYLIB
> +#endif
> +
>  #endif	/* __CONFIG_H */
diff mbox

Patch

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index f56d0e2..d3f0018 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -339,4 +339,23 @@ 
 #define CONFIG_FIT		1
 #define CONFIG_OF_LIBFDT	1
 
+#if defined(CONFIG_XILINX_LL_TEMAC) || 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_PHYLIB
+#endif
+
 #endif	/* __CONFIG_H */