Skip to content
Snippets Groups Projects
Commit 5bb12dbd authored by Harald Welte's avatar Harald Welte Committed by Wolfgang Denk
Browse files

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: default avatarWerner Almesberger <werner@openmoko.org>
Signed-off-by: default avatarHarald Welte <laforge@openmoko.org>
parent c3bf1ad7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment