[SLOF] [PATCH 2/2] envvar: Do not read default values for /options from the NVRAM anymore

Nikunj A Dadhania nikunj at linux.vnet.ibm.com
Wed Oct 26 16:02:27 AEDT 2016


Thomas Huth <thuth at redhat.com> writes:

> Now that we already set the default values in /options during
> "(set-defaults)", there is no need anymore to load these values
> through the NVRAM after we discovered that we had to re-initialize
> it.
>
> Signed-off-by: Thomas Huth <thuth at redhat.com>

Reviewed-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>

> ---
>  slof/fs/envvar.fs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/slof/fs/envvar.fs b/slof/fs/envvar.fs
> index 4a4d237..0e5f90a 100644
> --- a/slof/fs/envvar.fs
> +++ b/slof/fs/envvar.fs
> @@ -262,7 +262,7 @@ VARIABLE nvoff \ offset in envvar partition
>        ." No NVRAM common partition, re-initializing..." cr
>        internal-reset-nvram
>        (nvupdate)
> -      nvram-partition-type-common get-nvram-partition IF ." NVRAM seems to be broken." cr EXIT THEN
> +      EXIT
>     THEN
>     \ partition header found: read data from nvram
>     drop ( addr )           \ throw away offset
> -- 
> 1.8.3.1
>
> _______________________________________________
> SLOF mailing list
> SLOF at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/slof



More information about the SLOF mailing list