[U-Boot] [PATCH] env: make import/export optional

Wolfgang Denk wd at denx.de
Wed Jan 19 00:11:51 CET 2011


Dear Mike Frysinger,

In message <1294638366-32527-1-git-send-email-vapier at gentoo.org> you wrote:
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  common/cmd_nvedit.c           |    8 ++++++++
>  include/config_cmd_defaults.h |    2 ++
>  2 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
> index fb69c24..715dffd 100644
> --- a/common/cmd_nvedit.c
> +++ b/common/cmd_nvedit.c
> @@ -559,6 +559,7 @@ static int do_env_delete(cmd_tbl_t * cmdtp, int flag, int argc, char * const arg
>  	return 0;
>  }
>  
> +#ifdef CONFIG_CMD_EXPORTENV
...
> +#ifdef CONFIG_CMD_IMPORTENV

Please document the new CONFIG_CMD_* options.

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
Artificial Intelligence is no match for natural stupidity.


More information about the U-Boot mailing list