summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2012-03-30 18:01:39 +0200
committerWolfgang Denk <wd@denx.de>2012-03-30 18:01:39 +0200
commitf2ea62474b4da9fc41735cbc1fe8491b247e0930 (patch)
tree471d465c8714b2d1b488cc610e03cccd20b9db54 /include
parent75d79840ff8ea4e5a21b2b343f0316c57354897d (diff)
parentf5e5e1ff0ac3e2934f34174b6111c5f8eae1dd25 (diff)
downloadu-boot-imx-f2ea62474b4da9fc41735cbc1fe8491b247e0930.zip
u-boot-imx-f2ea62474b4da9fc41735cbc1fe8491b247e0930.tar.gz
u-boot-imx-f2ea62474b4da9fc41735cbc1fe8491b247e0930.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-microblaze
* 'master' of git://git.denx.de/u-boot-microblaze: microblaze: Enable phylib and mii support
Diffstat (limited to 'include')
-rw-r--r--include/configs/microblaze-generic.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 1f4aefd..9f66fbf 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -339,4 +339,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 */