aboutsummaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-06-09 11:37:00 +0200
committerIan Campbell <ijc@hellion.org.uk>2014-07-06 20:12:45 +0100
commitc26fb9db0ed7d524bde1206ed49a63e50125d329 (patch)
tree360c22e5a0836960a6d3af9927a3e19c5e29a7f6 /include/configs/sunxi-common.h
parentb70ed300b0dcf23e46265904ddc4fbf9a72b99b8 (diff)
downloadu-boot-c26fb9db0ed7d524bde1206ed49a63e50125d329.zip
u-boot-c26fb9db0ed7d524bde1206ed49a63e50125d329.tar.gz
u-boot-c26fb9db0ed7d524bde1206ed49a63e50125d329.tar.bz2
sunxi: Add emac glue, enable emac on the cubieboard
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 1d1c87d..3f04890 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -165,6 +165,11 @@
#define CONFIG_CONS_INDEX 1 /* UART0 */
#endif
+/* Ethernet support */
+#ifdef CONFIG_SUNXI_EMAC
+#define CONFIG_MII /* MII PHY management */
+#endif
+
#ifdef CONFIG_SUNXI_GMAC
#define CONFIG_DESIGNWARE_ETH /* GMAC can use designware driver */
#define CONFIG_DW_AUTONEG