[U-Boot] [PATCH] net/eth.c: bug-fix

Teh Kok How khteh at smartbridges.com
Fri Feb 12 05:08:13 CET 2010


--- u-boot-2009.11.1.orig/net/eth.c     2010-01-25 16:35:12.000000000 +0800

+++ u-boot-2009.11.1/net/eth.c  2010-02-12 11:18:23.558229895 +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)

 

 



More information about the U-Boot mailing list