[U-Boot] [PATCH v2 3/3] env: make "env default" selective, check and apply
Wolfgang Denk
wd at denx.de
Mon Dec 12 14:10:03 CET 2011
Dear Gerlando Falauto,
In message <4EE5CA57.6070807 at keymile.com> you wrote:
>
> >> /* [re]set to the default environment */
> >> void set_default_env(const char *s);
> >>
> >> +#ifdef CONFIG_CMD_DEFAULTENV_VARS
> >> +/* [re]set individual variables to their value in the default environment */
> >> +int env_default_vars(int nvars, char * const vars[]);
> >
> > How about env_set_vars_to_default?
>
> Hmm... sounds too long to me. But if you insist...
Too long, indeed.
We already have set_default_env() for the whole environment, so maybe
set_default_vars() for a set of variables?
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
I paid too much for it, but its worth it.
More information about the U-Boot
mailing list