From: Wolfgang Denk Date: Thu, 02 Feb 2012 23:17:47 +0100 Subject: [U-Boot] [PATCH 2/2] da850evm: read mac address from I2C EEPROM on AM18x EVM In-Reply-To: <1328190138-5276-3-git-send-email-manjunath.hadli@ti.com> References: <1328190138-5276-1-git-send-email-manjunath.hadli@ti.com> <1328190138-5276-3-git-send-email-manjunath.hadli@ti.com> Message-ID: <20120202221747.2CE4011F9E53@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 Manjunath Hadli, In message <1328190138-5276-3-git-send-email-manjunath.hadli@ti.com> you wrote: > add support to read mac address for AM18x EVM manufactured from > Spectrum digital which have mac address stored in I2C EEPROM manfactured > by WINBOND. This patch reads mac address from I2C EEPROM and updates > environment variable if not set. Introduced a config option > CONFIG_MAC_ADDR_IN_EEPROM to where to look for the mac address. > > Signed-off-by: Manjunath Hadli > Cc: Tom Rini NAK. This has been discussed a thousand times before, so please look it up in the archives. The environment always has precedence. If there are several places to store tha MAC address, and the values don;t match, a warning must be issued. etc. While you are at it, the implementation of davinci_sync_env_enetaddr() should be cleaned up as well. 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 Fascinating, a totally parochial attitude. -- Spock, "Metamorphosis", stardate 3219.8