* [U-Boot] [PATCH] microblaze: Enable phylib and mii support
@ 2012-02-24 17:33 Stephan Linz
2012-03-27 11:59 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Stephan Linz @ 2012-02-24 17:33 UTC (permalink / raw)
To: u-boot
Enable phylib and mii support for AXI EMAC
ethernet drivers on Microblaze systems.
Signed-off-by: Stephan Linz <linz@li-pro.net>
Reported-by: Michal Simek <monstr@monstr.eu>
---
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] microblaze: Enable phylib and mii support
2012-02-24 17:33 [U-Boot] [PATCH] microblaze: Enable phylib and mii support Stephan Linz
@ 2012-03-27 11:59 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2012-03-27 11:59 UTC (permalink / raw)
To: u-boot
Stephan Linz wrote:
> Enable phylib and mii support for AXI EMAC
> ethernet drivers on Microblaze systems.
>
> Signed-off-by: Stephan Linz <linz@li-pro.net>
> Reported-by: Michal Simek <monstr@monstr.eu>
> ---
> 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 */
Applied to microblaze custodian repo.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-27 11:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-24 17:33 [U-Boot] [PATCH] microblaze: Enable phylib and mii support Stephan Linz
2012-03-27 11:59 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox