commit | 5bb12dbd7ae03189b6c13d8737b5a1b37c3df698 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon Jul 07 15:40:39 2008 +0800 |
committer | Wolfgang Denk <wd@denx.de> | Thu Jul 10 00:28:20 2008 +0200 |
tree | 4e761b4b8bcf58c14e331640242cb9ed12ceb91d | |
parent | c3bf1ad7baa1b0dd989dedc260b7098b6089ae05 [diff] |
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@openmoko.org> Signed-off-by: Harald Welte <laforge@openmoko.org>