The configuration and build files are updated to compile the FSL mdio
support.

Signed-off-by: Renaud Barbier <renaud.barb...@ge.com>
---
 drivers/net/Kconfig  |    5 +++++
 drivers/net/Makefile |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 7db2837..c780340 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -128,8 +128,13 @@ config DRIVER_NET_DESIGNWARE_ALTDESCRIPTOR
 config DRIVER_NET_GIANFAR
        bool "Gianfar Ethernet"
        depends on ARCH_MPC85XX
+       select FSL_MDIO
        select MIIDEV
 
+config FSL_MDIO
+       bool
+       default n
+
 source "drivers/net/usb/Kconfig"
 
 config DRIVER_NET_MICREL
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 2057963..af19d20 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -15,5 +15,6 @@ obj-$(CONFIG_NET_USB)                 += usb/
 obj-$(CONFIG_DRIVER_NET_TSE)           += altera_tse.o
 obj-$(CONFIG_DRIVER_NET_KS8851_MLL)    += ks8851_mll.o
 obj-$(CONFIG_DRIVER_NET_DESIGNWARE)    += designware.o
+obj-$(CONFIG_FSL_MDIO)                 += fsl_mdio.o
 obj-$(CONFIG_DRIVER_NET_GIANFAR)       += gianfar.o
 obj-$(CONFIG_DRIVER_NET_MICREL)                += ksz8864rmn.o
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to