From: Wolfgang Denk Date: Mon, 18 Aug 2008 21:12:52 +0200 Subject: [U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t In-Reply-To: References: Message-ID: <20080818191252.CC86424899@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 you wrote: > Move to using the environment variables 'ethaddr', 'eth1addr', etc.. > instead of bd->bi_enetaddr, bi_enet1addr, etc. > > This makes the code a bit more flexible to the number of ethernet > interfaces. Right now we assume a max of 10 interfaces. How does this match with our very static way of selecting this using 'CONFIG_HAS_ETH' #defines? There is no such thing as CONFIG_HAS_ETH8 anywhere in the code... 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 The one who says it cannot be done should never interrupt the one who is doing it.