From: John Rigby Date: Thu, 8 Apr 2010 05:29:40 +0000 (-0600) Subject: fec_mxc don't use internal eeprom on MX25 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=910119b3c462fd6367536899ee43de1eb7d22d8e;p=u-boot.git fec_mxc don't use internal eeprom on MX25 Avoid using the internal eeprom on MX25 like MX51 already does. Signed-off-by: John Rigby Signed-off-by: Ben Warren --- diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 8c4ade5ab5..fdc288c63a 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -314,9 +314,9 @@ static int fec_get_hwaddr(struct eth_device *dev, unsigned char *mac) { /* * The MX27 can store the mac address in internal eeprom - * This mechanism is not supported now by MX51 + * This mechanism is not supported now by MX51 or MX25 */ -#ifdef CONFIG_MX51 +#if defined(CONFIG_MX51) || defined(CONFIG_MX25) return -1; #else struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;