diff options
Diffstat (limited to 'src/mainboard/google/stout/smihandler.c')
-rw-r--r-- | src/mainboard/google/stout/smihandler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/stout/smihandler.c b/src/mainboard/google/stout/smihandler.c index f6adbf9534..30637ab8c5 100644 --- a/src/mainboard/google/stout/smihandler.c +++ b/src/mainboard/google/stout/smihandler.c @@ -3,10 +3,10 @@ #include <device/pci_ops.h> #include <console/console.h> #include <cpu/x86/smm.h> +#include <halt.h> #include <soc/nvs.h> #include <southbridge/intel/bd82x6x/pch.h> #include <southbridge/intel/bd82x6x/me.h> -#include <southbridge/intel/common/pmbase.h> #include <northbridge/intel/sandybridge/sandybridge.h> /* Include EC functions */ @@ -21,7 +21,7 @@ static u8 mainboard_smi_ec(void) case EC_SMI_LID_CLOSED: printk(BIOS_DEBUG, "LID CLOSED, SHUTDOWN\n"); /* Go to S5 */ - write_pmbase32(PM1_CNT, read_pmbase32(PM1_CNT) | (0xf << 10)); + poweroff(); break; } |