[U-Boot] [PATCH v2 3/3] env: make "env default" selective, check and apply

Gerlando Falauto gerlando.falauto at keymile.com
Mon Dec 12 10:33:11 CET 2011


On 12/07/2011 11:02 PM, Simon Glass wrote:
> Hi Gerlando,

[...]

>> diff --git a/include/environment.h b/include/environment.h
>> index 3a3e6b8..8f0d4db 100644
>> --- a/include/environment.h
>> +++ b/include/environment.h
>> @@ -190,6 +190,11 @@ void env_crc_update(void);
>>   /* [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...

Best,
Gerlando


More information about the U-Boot mailing list