[Skiboot] [PATCH] fast-reset: by default (if possible)

Stewart Smith stewart at linux.vnet.ibm.com
Tue Nov 15 14:54:46 AEDT 2016


Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 core/platform.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/platform.c b/core/platform.c
index 587816478c79..3e1aee2a8340 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)
-- 
2.1.4



More information about the Skiboot mailing list