public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] fec_mxc don't use internal eeprom on MX25
@ 2010-04-08  5:29 John Rigby
  2010-04-08 16:51 ` Ben Warren
  0 siblings, 1 reply; 2+ messages in thread
From: John Rigby @ 2010-04-08  5:29 UTC (permalink / raw)
  To: u-boot

Avoid using the internal eeprom onf MX25
like MX51 already does.

Signed-off-by: John Rigby <jcrigby@gmail.com>
CC: Ben Warren <biggerbadderben@gmail.com>
---
 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;
-- 
1.6.4.2.236.gf324c

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] fec_mxc don't use internal eeprom on MX25
  2010-04-08  5:29 [U-Boot] [PATCH] fec_mxc don't use internal eeprom on MX25 John Rigby
@ 2010-04-08 16:51 ` Ben Warren
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Warren @ 2010-04-08 16:51 UTC (permalink / raw)
  To: u-boot

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<jcrigby@gmail.com>
> CC: Ben Warren<biggerbadderben@gmail.com>
> ---
>   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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-08 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-08  5:29 [U-Boot] [PATCH] fec_mxc don't use internal eeprom on MX25 John Rigby
2010-04-08 16:51 ` Ben Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox