Dear Ben,

In message <3270dcac1b1540c7b13d9bc718f54...@smartbridges.com> Teh Kok How 
wrote:
> Fixes: Board_eth_init() calls pci_eth_init() (include/netdev.h) and if
> ethernet is soc, CONFIG_PCI is not defined, pci_eth_init() returns 0.
> This patch allows cpu_eth_init() to be called.
> 
> 
> Signed-off-by: Kok How, Teh <k_h_...@yahoo.com>
> --- u-boot-2009.11.1.orig/net/eth.c     2010-01-25 16:35:12.000000000 +0800
> +++ u-boot-2009.11.1.new/net/eth.c      2010-02-12 17:20:32.864273873 +0800
> @@ -199,7 +199,7 @@
>  #endif
>         /* Try board-specific initialization first.  If it fails or isn't
>          * present, try the cpu-specific initialization */
> -       if (board_eth_init(bis) < 0)
> +       if (board_eth_init(bis) <= 0)
>                 cpu_eth_init(bis);
> 
>  #if defined(CONFIG_DB64360) || defined(CONFIG_CPCI750)
> 

Do you have this patch in your queue?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Abstainer: A weak person who yields to the temptation of denying him-
self a pleasure. A total abstainer is one who  abstains  from  every-
thing  but  abstention, and especially from inactivity in the affairs
of others.                                           - Ambrose Bierce
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to