coreboot/src/soc
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
..
amd stoneyridge: Fix CPU ASL \_PR table 2017-08-14 19:36:50 +00:00
broadcom/cygnus include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
dmp/vortex86ex soc/dmp/vortex86: Fix CMOS read and random RTC reset 2017-08-01 13:20:15 +00:00
imgtec/pistachio Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
intel soc/intel/skylake: Enable power button SMI when jumping to payload 2017-08-19 00:33:04 +00:00
lowrisc/lowrisc soc/lowrisc: Place CBMEM at top of autodetected RAM 2016-12-06 18:51:13 +01:00
marvell/mvmap2315 Update files with no newline at the end 2017-07-24 15:08:16 +00:00
mediatek/mt8173 include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
nvidia include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
qualcomm include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
rockchip include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
samsung include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
ucb/riscv soc/ucb/riscv: Place CBMEM at top of autodetected RAM 2016-12-06 18:48:28 +01:00