diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/fec_imx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c index 40a7543706..9e752f64db 100644 --- a/drivers/net/fec_imx.c +++ b/drivers/net/fec_imx.c @@ -32,6 +32,7 @@ #include <mach/imx-regs.h> #include <clock.h> #include <mach/clock.h> +#include <mach/iim.h> #include <xfuncs.h> #include "fec_imx.h" @@ -235,8 +236,7 @@ static void fec_rbd_clean(int last, struct buffer_descriptor *pRbd) static int fec_get_hwaddr(struct eth_device *dev, unsigned char *mac) { - /* no eeprom */ - return -1; + return imx_iim_get_mac(mac); } static int fec_set_hwaddr(struct eth_device *dev, unsigned char *mac) |