[U-Boot-Users] [PATCH 1/1] Add support for the hammerhead (AVR32) board

Julien May mailinglist at miromico.ch
Thu Jul 24 12:18:40 CEST 2008


I am currently having problems in initializing the eth.

in net/eth.c the following is defined

static int __def_eth_init(bd_t *bis)
{
	return -1;
}
int cpu_eth_init(bd_t *bis) __attribute((weak, alias("__def_eth_init")));
int board_eth_init(bd_t *bis) __attribute((weak, alias("__def_eth_init")));

this is not calling my implementation of board_eth_init.
I see and like the idea behind this but do not understand why my 
implementation is not getting called...

btw. I did update the implementation function header from void to int. 

- Julien




More information about the U-Boot mailing list