[U-Boot] [RFC PATCH 4/7] env: Introduce "transient" and "system" access flags

Bernhard Nortmann bernhard.nortmann at web.de
Mon Jul 11 20:32:39 CEST 2016


Am 11.07.2016 um 20:14 schrieb Bernhard Nortmann:
> "transient" (='t') is like "any", but requests that a variable
> should not be exported (ENV_FLAGS_VARACCESS_PREVENT_EXPORT).
>
> "system" (='S') is meant for 'internal' variables that
> aren't supposed to be changed by the user. It corresponds
> to "transient" plus "read-only".
>
> Signed-off-by: Bernhard Nortmann <bernhard.nortmann at web.de>
> ---
>
> [...]
>
> diff --git a/include/env_flags.h b/include/env_flags.h
> index 7e2362a..9997a25 100644
> --- a/include/env_flags.h
> +++ b/include/env_flags.h
> @@ -25,6 +25,8 @@ enum env_flags_varaccess {
>   	env_flags_varaccess_readonly,
>   	env_flags_varaccess_writeonce,
>   	env_flags_varaccess_changedefault,
> +	env_flags_varaccess_transient,
> +	env_flags_varaccess_locked,
>   	env_flags_varaccess_end
>   };
>   

The "env_flags_varaccess_locked" is a remnant of a previous iteration and
should of course read "env_flags_varaccess_system" instead. I've fixed this
in my local branch, and the correction will be part of a future v2.

Regards, B. Nortmann



More information about the U-Boot mailing list