aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-10-25 13:43:45 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2016-10-27 23:04:06 +1100
commit7412f9e058132a9218827c23369b8cba33d756af (patch)
tree3e2e374ddac23b0abaceb6a127b6fbc38480a086
parent32568e8e1119e3308b3c97d4a290fd5e8a273e11 (diff)
downloadSLOF-7412f9e058132a9218827c23369b8cba33d756af.zip
SLOF-7412f9e058132a9218827c23369b8cba33d756af.tar.gz
SLOF-7412f9e058132a9218827c23369b8cba33d756af.tar.bz2
envvar: Do not read default values for /options from the NVRAM anymore
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@redhat.com> Reviewed-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
-rw-r--r--slof/fs/envvar.fs2
1 files changed, 1 insertions, 1 deletions
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