summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>2014-08-15 14:22:09 +0530
committerJeremy Kerr <jeremy.kerr@au.ibm.com>2014-08-18 11:28:45 +0800
commit78b62fea12f1b9b6237560b35b904a962f0231bf (patch)
tree42724c439cf5c7f13b23f25d430b63b4a8c1a091
parentf9ac71909abdc1ccd83dfd46a5c659191b38409f (diff)
downloadtalos-skiboot-78b62fea12f1b9b6237560b35b904a962f0231bf.tar.gz
talos-skiboot-78b62fea12f1b9b6237560b35b904a962f0231bf.zip
slw: Parse DT from host-boot for fast-sleep string
Match the fast-sleep name between OPAL and HB Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Signed-off-by: Jeremy Kerr <jeremy.kerr@au.ibm.com>
-rw-r--r--hw/slw.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud