coreboot/src
Furquan Shaikh aeb2d64c85 soc/intel/skylake: Enable power button SMI when jumping to payload
Instead of enabling power button SMI unconditionally, add a boot state
handler to enable power button SMI just before jumping to
payload. This ensures that:
1. We do not respond to power button SMI until we know that coreboot
is done.
2. On resume, there is no need to enable power button SMI. This avoids
any power button presses during resume path from triggering a
shutdown.

BUG=b:64811381

Change-Id: Icc52dc0103555602c23e09660bc38bb4bfddbc11
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/21082
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
2017-08-19 00:33:04 +00:00
..
acpi src/acpi: Add guards on all header files 2017-08-01 23:04:27 +00:00
arch include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
commonlib Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
console console: Add weak method to notify about death 2017-08-14 11:01:41 +00:00
cpu include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
device device/smbus: Reuse I2C bus operations where applicable 2017-08-18 15:34:15 +00:00
drivers drivers/i2c/rx6110sa: Drop I2C interface arbitration 2017-08-18 15:33:58 +00:00
ec include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
include device/smbus: Reuse I2C bus operations where applicable 2017-08-18 15:34:15 +00:00
lib lib/cbmem: provide optional cbmem top initialization hook 2017-08-04 04:29:57 +00:00
mainboard drivers/i2c/rx6110sa: Drop I2C interface arbitration 2017-08-18 15:33:58 +00:00
northbridge nb/intel/i440bx: Compile debug.c only if CONFIG_DEBUG_RAM_SETUP 2017-08-18 18:52:10 +00:00
soc soc/intel/skylake: Enable power button SMI when jumping to payload 2017-08-19 00:33:04 +00:00
southbridge AGESA: Cleanup ACPI S3 support 2017-08-16 22:06:51 +00:00
superio superio/winbond/w83977tf: Drop early_serial.c 2017-08-15 21:03:34 +00:00
vboot vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
vendorcode AGESA f15tn: Fix MemContext buffer parser for AmdInitPost() 2017-08-16 22:06:57 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00