summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-04-16 21:47:06 +0200
committerHans de Goede <hdegoede@redhat.com>2015-05-04 16:51:53 +0200
commit8145dea46801e14af3bf65d2d70c3c19b8bb8e81 (patch)
treee0e860ac780f0a4bd0ec23d9cf02017f8352f7f6 /include
parentaab096401c527641235cd93b188b34ed9dc99617 (diff)
downloadtalos-obmc-uboot-8145dea46801e14af3bf65d2d70c3c19b8bb8e81.tar.gz
talos-obmc-uboot-8145dea46801e14af3bf65d2d70c3c19b8bb8e81.zip
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 <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Reviewed-by: Stefan Roese <sr@denx.de>
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 086105e0be..28eccd5070 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
OpenPOWER on IntegriCloud