public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] imx27lite board support no longer compile
@ 2010-02-25 11:49 Heiko Schocher
  2010-02-25 12:17 ` Stefano Babic
  0 siblings, 1 reply; 4+ messages in thread
From: Heiko Schocher @ 2010-02-25 11:49 UTC (permalink / raw)
  To: u-boot

Hello Stefano,

your following commit breaks building the imx27lite board
(and all boards, which uses the ./drivers/net/fec_mxc.c
I think), because the following function is missing:

[hs at pollux u-boot]$ grep -lr imx_get_fecclk .
./drivers/net/fec_mxc.c
./drivers/net/fec_mxc.o
./drivers/net/libnet.a
./LOG/imx27lite.ERR
[hs at pollux u-boot]$

and this function is only used in this driver ...

---------------------------------------------------------------

author	Stefano Babic <sbabic@denx.de>
commit	4294b2485bf0e8d68c893190a96bb0e7856b12c4

fec_mxc: add support for MX51 processor

The patch add support for the Freescale mx51 processor

to the FEC ethernet driver.


Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
---------------------------------------------------------------

... any ideas?

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] imx27lite board support no longer compile
  2010-02-25 11:49 [U-Boot] imx27lite board support no longer compile Heiko Schocher
@ 2010-02-25 12:17 ` Stefano Babic
  2010-03-03  9:56   ` Stefano Babic
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Babic @ 2010-02-25 12:17 UTC (permalink / raw)
  To: u-boot

Heiko Schocher wrote:
> Hello Stefano,
> 

Hi Heiko,

> your following commit breaks building the imx27lite board
> (and all boards, which uses the ./drivers/net/fec_mxc.c
> I think), because the following function is missing:
> 
> [hs at pollux u-boot]$ grep -lr imx_get_fecclk .
> ./drivers/net/fec_mxc.c
> ./drivers/net/fec_mxc.o
> ./drivers/net/libnet.a
> ./LOG/imx27lite.ERR
> [hs at pollux u-boot]$
> 
> and this function is only used in this driver ...
> 
> ---------------------------------------------------------------
> 
> author	Stefano Babic <sbabic@denx.de>
> commit	4294b2485bf0e8d68c893190a96bb0e7856b12c4
> 
> fec_mxc: add support for MX51 processor
> 
> The patch add support for the Freescale mx51 processor
> 
> to the FEC ethernet driver.
> 
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
> ---------------------------------------------------------------
> 
> ... any ideas?

Yes, at the same time two patches for the fec_imx was sent by me and by
John. John sends to me and to the ML a comment informing that he made
patches to factor a lot of SOC specific, cleaning up code and avoiding
nasty #ifdef.

I see his patch in archive as
http://www.mail-archive.com/u-boot at lists.denx.de/msg27481.html.

I have already used the proposed function, but John's patch is not
already in the mainline - probably it is still in the imx queue. Jason
is working to bring a lot of MX patches in the mainline this week.

Regards,
Stefano

-- 
=====================================================================
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] imx27lite board support no longer compile
  2010-02-25 12:17 ` Stefano Babic
@ 2010-03-03  9:56   ` Stefano Babic
  2010-03-03 10:13     ` Heiko Schocher
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Babic @ 2010-03-03  9:56 UTC (permalink / raw)
  To: u-boot

> Heiko Schocher wrote:
>> your following commit breaks building the imx27lite board
>> (and all boards, which uses the ./drivers/net/fec_mxc.c
>> I think), because the following function is missing:

Hello Heiko,

I have applied John's patches to the u-boot-imx tree. Building of
imx27lite is ok using that tree.

Regards,
Stefano

-- 
=====================================================================
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] imx27lite board support no longer compile
  2010-03-03  9:56   ` Stefano Babic
@ 2010-03-03 10:13     ` Heiko Schocher
  0 siblings, 0 replies; 4+ messages in thread
From: Heiko Schocher @ 2010-03-03 10:13 UTC (permalink / raw)
  To: u-boot

Hello Stefano,

Stefano Babic wrote:
>> Heiko Schocher wrote:
>>> your following commit breaks building the imx27lite board
>>> (and all boards, which uses the ./drivers/net/fec_mxc.c
>>> I think), because the following function is missing:
> 
> Hello Heiko,
> 
> I have applied John's patches to the u-boot-imx tree. Building of
> imx27lite is ok using that tree.

Thanks for the info!

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

end of thread, other threads:[~2010-03-03 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 11:49 [U-Boot] imx27lite board support no longer compile Heiko Schocher
2010-02-25 12:17 ` Stefano Babic
2010-03-03  9:56   ` Stefano Babic
2010-03-03 10:13     ` Heiko Schocher

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