summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2015-04-16 21:47:06 +0200
committerHans de Goede <[email protected]>2015-05-04 16:51:53 +0200
commit8145dea46801e14af3bf65d2d70c3c19b8bb8e81 (patch)
treee0e860ac780f0a4bd0ec23d9cf02017f8352f7f6 /include
parentaab096401c527641235cd93b188b34ed9dc99617 (diff)
sunxi: emac: port to phylib
This is a preparation-patch for adding device-model support to the emac driver. Signed-off-by: Hans de Goede <[email protected]> Acked-by: Ian Campbell <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sunxi-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 086105e0be6..28eccd5070f 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -283,7 +283,9 @@ extern int soft_i2c_gpio_scl;
/* Ethernet support */
#ifdef CONFIG_SUNXI_EMAC
+#define CONFIG_PHY_ADDR 1
#define CONFIG_MII /* MII PHY management */
+#define CONFIG_PHYLIB
#endif
#ifdef CONFIG_SUNXI_GMAC