From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 25 Jun 2008 11:34:30 +0200 Subject: [U-Boot-Users] [PATCH] Add mechanisms for CPU and board-specific Ethernet initialization In-Reply-To: <20080625113008.3d1d7047@hskinnemo-gx745.norway.atmel.com> References: <1213086567-29194-1-git-send-email-biggerbadderben@gmail.com> <20080624223248.GA18929@game.jcrosoft.org> <20080625113008.3d1d7047@hskinnemo-gx745.norway.atmel.com> Message-ID: <200806251134.30243.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 25 June 2008, Haavard Skinnemoen wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > The idea is that cpu_eth_init is a default for a CPU family, and > > > board_eth_init is a board override, which can of course call > > > cpu_eth_init. > > > > What about a section to declare the netdev? > > Please, let's not overdo this. The patch as it stands is a huge > improvement over the current situation. > > > In this case we can have more than 2 eth and it more generic. > > You can have that now. board_eth_init() can initialize as many > interfaces as it likes. Full ack on both statements. 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: office at denx.de =====================================================================