From: Wolfgang Denk Date: Mon, 18 Aug 2008 21:25:20 +0200 Subject: [U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t In-Reply-To: <27B1F145-B4F1-42E8-930C-3A26D1E914CF@kernel.crashing.org> References: <20080818191252.CC86424899@gemini.denx.de> <27B1F145-B4F1-42E8-930C-3A26D1E914CF@kernel.crashing.org> Message-ID: <20080818192520.33A2B24899@gemini.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 Dear Kumar Gala, In message <27B1F145-B4F1-42E8-930C-3A26D1E914CF@kernel.crashing.org> you wrote: > > 74xx_7xx, mpc8xx, ppc4xx -- called regardless of CONFIG_HAS_ETHn > mpc512x -- called only based on HAS_ETH0 > mpc8260, mpc83xx, mpc85xx, mpc86xx -- called if HAS_ETH0 || HAS_ETH1 > || HAS_ETH2 || HAS_ETH3 > > With ETH3 being the max today. Yes. and I have to admit that I really dislike this static configuration which prevents any loops in the code. > We have a part (p4080) in the works with 8 interfaces (its unlikely > we'll have support for all 8 in u-boot, but do want to be ablity to > set mac addresses for all 8.) I guess we should try to find some clever way of overcoming the old style. 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: wd at denx.de Don't panic.