]> git.sur5r.net Git - u-boot/commitdiff
microblaze: Enable phylib and mii support
authorStephan Linz <linz@li-pro.net>
Fri, 24 Feb 2012 17:33:41 +0000 (18:33 +0100)
committerMichal Simek <monstr@monstr.eu>
Tue, 27 Mar 2012 11:58:19 +0000 (13:58 +0200)
Enable phylib and mii support for AXI EMAC
ethernet drivers on Microblaze systems.

Signed-off-by: Stephan Linz <linz@li-pro.net>
Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/microblaze-generic.h

index 1f4aefde13c79941052dab3bb689f25369d0ffff..9f66fbfc3f69a1a146fb880f056dc4a552519d89 100644 (file)
 #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 */