[U-Boot-Users] [PATCH] Remove code duplication for setting the default environment

Wolfgang Denk wd at denx.de
Thu Jul 10 00:30:03 CEST 2008


In message <20080707074039.GC4412 at 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 <werner at openmoko.org>
> Signed-off-by: Harald Welte <laforge at openmoko.org>
> 
> 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 at gadget.cscaper.com>




More information about the U-Boot mailing list