From: Wolfgang Denk Date: Mon, 18 Aug 2008 22:55:19 +0200 Subject: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t In-Reply-To: <594AB220-FA74-4A51-BF54-C79EBD696A51@kernel.crashing.org> References: <20080818193004.145DE24899@gemini.denx.de> <119C6E28-E979-4B97-87AD-9603CD5FFDAA@kernel.crashing.org> <48A9D231.5030703@freescale.com> <594AB220-FA74-4A51-BF54-C79EBD696A51@kernel.crashing.org> Message-ID: <20080818205519.8F37F243AB@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 <594AB220-FA74-4A51-BF54-C79EBD696A51@kernel.crashing.org> you wrote: > > > It might be better (and more efficent) to iterate over the > > environment, and check each name against the eth*addr pattern. > > Its probably easier/less work to iterate over the aliases looking for > "ethernet*" pattern, I can do that if its desired. No, I agree with Scott here. 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 Build a system that even a fool can use and only a fool will want to use it.