summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohn Rigby <jcrigby@gmail.com>2010-04-07 23:29:40 -0600
committerBen Warren <biggerbadderben@gmail.com>2010-05-03 14:52:48 -0700
commit910119b3c462fd6367536899ee43de1eb7d22d8e (patch)
tree021bda8624d9ca669de4a550c4630ec8e1a9c769 /drivers
parent33f684d6d512992ed1ae37ec46e76bdeb0773bac (diff)
downloadu-boot-imx-910119b3c462fd6367536899ee43de1eb7d22d8e.zip
u-boot-imx-910119b3c462fd6367536899ee43de1eb7d22d8e.tar.gz
u-boot-imx-910119b3c462fd6367536899ee43de1eb7d22d8e.tar.bz2
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 <jcrigby@gmail.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fec_mxc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 8c4ade5..fdc288c 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;