From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 10 Jul 2008 00:30:03 +0200 Subject: [U-Boot-Users] [PATCH] Remove code duplication for setting the default environment In-Reply-To: Your message of "Mon, 07 Jul 2008 15:40:39 +0800." <20080707074039.GC4412@prithivi.gnumonks.org> Message-ID: <20080709223003.779BC24304@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 In message <20080707074039.GC4412@prithivi.gnumonks.org> you wrote: > > New patch at the end of this mail! Could you please start using git to prepare and send patches? That would save me (and others) a lot of time. Thanks in advance. > Remove code duplication for setting the default environment > > common/env_common.c (default_env): new function that resets the environment to > the default value > common/env_common.c (env_relocate): use default_env instead of own copy > common/env_nand.c (env_relocate_spec): use default_env instead of own copy > include/environment.h: added default_env prototype > > Signed-off-by: Werner Almesberger > Signed-off-by: Harald Welte > > Index: u-boot/common/env_common.c Applied, thanks. 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 You young'uns. That was *long* before AltaVista, DejaNews, or even (gasp) the *Web*! In fact, we typed that thread on steam-powered card punchers, and shipped it around via Pony Express. -- Randal Schwartz in <8cwww1cd0d.fsf@gadget.cscaper.com>