aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-11-15 14:54:46 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-06 01:21:02 -0500
commit0679f61244b0d1ee84eb2fdff492657f9bfb4040 (patch)
tree5aee647cba8f37daf8d4c2b0cc445d4b0a28cc4e /core
parent784da79b85537ded99e8d1890b46e3a804d93295 (diff)
downloadskiboot-0679f61244b0d1ee84eb2fdff492657f9bfb4040.zip
skiboot-0679f61244b0d1ee84eb2fdff492657f9bfb4040.tar.gz
skiboot-0679f61244b0d1ee84eb2fdff492657f9bfb4040.tar.bz2
fast-reset: by default (if possible)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/platform.c b/core/platform.c
index 2a206c8..732f67e 100644
--- a/core/platform.c
+++ b/core/platform.c
@@ -56,8 +56,8 @@ static int64_t opal_cec_reboot(void)
console_complete_flush();
- /* Try a fast reset first, if enabled */
- if (nvram_query_eq("experimental-fast-reset","feeling-lucky"))
+ /* Try fast-reset unless explicitly disabled */
+ if (!nvram_query_eq("fast-reset","0"))
fast_reboot();
if (platform.cec_reboot)