From: Wolfgang Denk Date: Mon, 12 Dec 2011 14:10:03 +0100 Subject: [U-Boot] [PATCH v2 3/3] env: make "env default" selective, check and apply In-Reply-To: <4EE5CA57.6070807@keymile.com> References: <1321634955-5561-1-git-send-email-gerlando.falauto@keymile.com><1323264605-13541-4-git-send-email-gerlando.falauto@keymile.com> <4EE5CA57.6070807@keymile.com> Message-ID: <20111212131003.7DADD183AA36@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Gerlando Falauto, In message <4EE5CA57.6070807@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.