[U-Boot-Users] [PATCH 0/1] Moved initialization of AVR32 Ethernet controllers to board_eth_init()

Hans-Christian Egtvedt hans-christian.egtvedt at atmel.com
Thu Jul 10 14:47:53 CEST 2008


On Thu, 2008-07-10 at 14:45 +0200, Hans-Christian Egtvedt wrote:
> On Thu, 2008-07-10 at 13:24 +0200, Haavard Skinnemoen wrote:
> > On Sat,  5 Jul 2008 00:08:47 -0700
> > Ben Warren <biggerbadderben at gmail.com> wrote:
> > 
> > > More cleanup of net/eth.c, this time taking care of AVR32 boards.  I got rid
> > > of the board/eth.c files because board_eth_init() needs to be in a file where
> > > there are other strong symbols in order to override the weak board_eth_init() in
> > > net/eth.c.  I've compiled this code  and verified that the strong
> > > board_eth_init() symbols are linked in, but don't have hardware to test on.
> > > If somebody can, please try out and let me know.
> > 
> > Looks good to me, but I don't have the chance to test it.
> > 
> 
> I tried looking into it, but I do not see who is going to call
> board_eth_init() ? Is this supposed to be done in net/eth.c or
> lib_avr32/board.c ?
> 

Cheese, I am blind, just found it almost on top in the eth_initialize()
function.

I will pull the master and see if it works.

<snipp>

-- 
With kind regards,
Hans-Christian Egtvedt, Applications Engineer





More information about the U-Boot mailing list