summaryrefslogtreecommitdiff
path: root/common/chipset_haswell.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/chipset_haswell.c')
-rw-r--r--common/chipset_haswell.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/chipset_haswell.c b/common/chipset_haswell.c
index f4417ce2a1..1885f76d3c 100644
--- a/common/chipset_haswell.c
+++ b/common/chipset_haswell.c
@@ -9,6 +9,7 @@
#include "chipset_x86_common.h"
#include "common.h"
#include "console.h"
+#include "getset.h"
#include "gpio.h"
#include "hooks.h"
#include "system.h"
@@ -315,7 +316,9 @@ enum x86_state x86_handle_state(enum x86_state state)
/* Disable PP5000 (5V) rail. */
gpio_set_level(GPIO_PP5000_EN, 0);
- return X86_S5G3;
+
+ /* Start shutting down */
+ return gsv[GSV_PARAM_s5] ? X86_S5 : X86_S5G3;
case X86_S5G3:
/* Deassert DPWROK, assert RSMRST# */