aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2018-01-15 15:38:16 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-01-15 15:38:16 +1100
commit80838c3158a8e00fef9f177dd2ee4f96c7df413e (patch)
tree4d55daeefda5fe86a4d2932350680c2e362fdac5 /hw
parent7def6cdac27f407bbcb15e83699abdb33078447e (diff)
downloadskiboot-80838c3158a8e00fef9f177dd2ee4f96c7df413e.zip
skiboot-80838c3158a8e00fef9f177dd2ee4f96c7df413e.tar.gz
skiboot-80838c3158a8e00fef9f177dd2ee4f96c7df413e.tar.bz2
SLW: fix running in mambo
Fixes: 35c66b8ce5a27ad3312806e8bde9148a5e5b5df8 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/slw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/slw.c b/hw/slw.c
index 57b52a2..f3c8374 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -1729,8 +1729,10 @@ void slw_init(void)
{
struct proc_chip *chip;
- if (proc_chip_quirks & QUIRK_MAMBO_CALLOUTS)
+ if (proc_chip_quirks & QUIRK_MAMBO_CALLOUTS) {
wakeup_engine_state = WAKEUP_ENGINE_NOT_PRESENT;
+ return;
+ }
if (proc_gen == proc_gen_p8) {
for_each_chip(chip) {
slw_init_chip_p8(chip);