From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Thu, 08 Apr 2010 09:51:20 -0700 Subject: [U-Boot] [PATCH] fec_mxc don't use internal eeprom on MX25 In-Reply-To: <1270704580-30269-1-git-send-email-jcrigby@gmail.com> References: <1270704580-30269-1-git-send-email-jcrigby@gmail.com> Message-ID: <4BBE0988.5030301@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi John, On 4/7/2010 10:29 PM, John Rigby wrote: > Avoid using the internal eeprom onf MX25 > like MX51 already does. > > Signed-off-by: John Rigby > CC: Ben Warren > --- > drivers/net/fec_mxc.c | 4 ++-- > 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; > Applied to net repo. thanks, Ben