public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function
@ 2012-01-31 12:07 Jason Liu
  2012-01-31 12:23 ` Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jason Liu @ 2012-01-31 12:07 UTC (permalink / raw)
  To: u-boot

FEC does not work on the i.mx51/53evk board, it will hangup
In:    serial
Out:   serial
Err:   serial
Net:

After bisect, it due to the following commit:
be252b6 net: imx: Add multi-FEC support for imx_get_mac_from_fuse
has change the imx_get_mac_from_fuse fucntion prototype, but fail
to update i.mx5, here it does it.

After apply this patch, u-boot works again on i.mx51/53 evk boards.

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc: Stefano Babic <sbabic@denx.de>
---
 arch/arm/cpu/armv7/mx5/soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/armv7/mx5/soc.c b/arch/arm/cpu/armv7/mx5/soc.c
index 1533dd8..3f5a4f7 100644
--- a/arch/arm/cpu/armv7/mx5/soc.c
+++ b/arch/arm/cpu/armv7/mx5/soc.c
@@ -72,7 +72,7 @@ u32 get_cpu_rev(void)
 }
 
 #if defined(CONFIG_FEC_MXC)
-void imx_get_mac_from_fuse(unsigned char *mac)
+void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
 {
 	int i;
 	struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;
-- 
1.7.4.1

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

* [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function
  2012-01-31 12:07 [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function Jason Liu
@ 2012-01-31 12:23 ` Fabio Estevam
  2012-01-31 13:08 ` Stefano Babic
  2012-02-01 11:53 ` Stefano Babic
  2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2012-01-31 12:23 UTC (permalink / raw)
  To: u-boot

On 1/31/12, Jason Liu <jason.hui@linaro.org> wrote:
> FEC does not work on the i.mx51/53evk board, it will hangup
> In:    serial
> Out:   serial
> Err:   serial
> Net:
>
> After bisect, it due to the following commit:
> be252b6 net: imx: Add multi-FEC support for imx_get_mac_from_fuse
> has change the imx_get_mac_from_fuse fucntion prototype, but fail
> to update i.mx5, here it does it.
>
> After apply this patch, u-boot works again on i.mx51/53 evk boards.
>
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> Cc: Stefano Babic <sbabic@denx.de>

Acked-by: Fabio Estevam <fabio.estevam@freescale.com>

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

* [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function
  2012-01-31 12:07 [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function Jason Liu
  2012-01-31 12:23 ` Fabio Estevam
@ 2012-01-31 13:08 ` Stefano Babic
  2012-02-01 11:53 ` Stefano Babic
  2 siblings, 0 replies; 4+ messages in thread
From: Stefano Babic @ 2012-01-31 13:08 UTC (permalink / raw)
  To: u-boot

On 31/01/2012 13:07, Jason Liu wrote:
> FEC does not work on the i.mx51/53evk board, it will hangup
> In:    serial
> Out:   serial
> Err:   serial
> Net:
> 
> After bisect, it due to the following commit:
> be252b6 net: imx: Add multi-FEC support for imx_get_mac_from_fuse
> has change the imx_get_mac_from_fuse fucntion prototype, but fail
> to update i.mx5, here it does it.
> 
> After apply this patch, u-boot works again on i.mx51/53 evk boards.
> 
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> Cc: Stefano Babic <sbabic@denx.de>
> ---

Acked-by: Stefano Babic <sbabic@denx.de>

Thanks for fixing !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

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

* [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function
  2012-01-31 12:07 [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function Jason Liu
  2012-01-31 12:23 ` Fabio Estevam
  2012-01-31 13:08 ` Stefano Babic
@ 2012-02-01 11:53 ` Stefano Babic
  2 siblings, 0 replies; 4+ messages in thread
From: Stefano Babic @ 2012-02-01 11:53 UTC (permalink / raw)
  To: u-boot

On 31/01/2012 13:07, Jason Liu wrote:
> FEC does not work on the i.mx51/53evk board, it will hangup
> In:    serial
> Out:   serial
> Err:   serial
> Net:
> 

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

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

end of thread, other threads:[~2012-02-01 11:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31 12:07 [U-Boot] [PATCH] i.mx: i.mx5: update imx_get_mac_from_fuse function Jason Liu
2012-01-31 12:23 ` Fabio Estevam
2012-01-31 13:08 ` Stefano Babic
2012-02-01 11:53 ` Stefano Babic

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