From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 13 Nov 2017 20:49:02 +0100 Subject: [U-Boot] ethernet: ROM MAC address vs env variable MAC address In-Reply-To: References: Message-ID: <20171113194902.3A0A0120504@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 Prabhakar, In message you wrote: > > Why ROM MAC address getting overwritten by environment env MAC address. Because in U-Boot we give the user the freedom to do what he needs/wants to do. Usually the environment value gets initialized from the value in the ROM, so there is no difference anyway. But if the user wants a specific setting, he can change it. > MAC address is something unique and assigned to a particular device. So one should never change its MAC address. U-Boot follows good old UNIX style here: "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." - Doug Gwyn Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk 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 If in any problem you find yourself doing an immense amount of work, the answer can be obtained by simple inspection.