From 78b62fea12f1b9b6237560b35b904a962f0231bf Mon Sep 17 00:00:00 2001 From: Vaidyanathan Srinivasan Date: Fri, 15 Aug 2014 14:22:09 +0530 Subject: slw: Parse DT from host-boot for fast-sleep string Match the fast-sleep name between OPAL and HB Signed-off-by: Vaidyanathan Srinivasan Signed-off-by: Jeremy Kerr --- hw/slw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/slw.c b/hw/slw.c index 0af2b436..d709901a 100644 --- a/hw/slw.c +++ b/hw/slw.c @@ -555,7 +555,7 @@ void add_cpu_idle_state_properties(void) nr_states = ARRAY_SIZE(power8_cpu_idle_states); /* Check if hostboot say we can sleep */ - if (!p || !dt_prop_find_string(p, "fastsleep")) { + if (!p || !dt_prop_find_string(p, "fast-sleep")) { printf("SLW: Sleep not enabled by HB on this platform\n"); can_sleep = false; } -- cgit v1.2.1