On Tuesday 10 June 2008, Shinya Kuribayashi wrote: > >> Shouldn't this be the other way around? > >> > >> + if (board_eth_init(bis) < 0) > >> + eth_eth_init(bis); > >> > >> So that the board init routine can "overwrite" the cpu init version. > > > > Yeah, I think you're right. If board_eth_init() exists, it gets > > highest priority. > > Just wondered, does that mean we could only have either cpu_eth_init or > board_eth_init at a time?
Not really. board_eth_init() could call cpu_eth_init() if necessary. Best regards, Stefan ===================================================================== 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: [EMAIL PROTECTED] ===================================================================== ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users