soc/intel/skylake: Disable s0ix if not enabled in devicetree
commit25c7d9342b8bdee61710a516440e4b9c4b83fb09
authorDuncan Laurie <dlaurie@chromium.org>
Sat, 18 Feb 2017 01:16:43 +0000 (17 17:16 -0800)
committerMartin Roth <martinroth@google.com>
Sun, 19 Feb 2017 20:39:02 +0000 (19 21:39 +0100)
tree2700558a829fd4b7a8f1cba15c6c0e21b69bbc27
parentc9db384ea47b8b705ddeaf0319fd53b5c513f423
soc/intel/skylake: Disable s0ix if not enabled in devicetree

There is an enable_s0ix config option in the devicetree that should
be used to disable it when not set:

- do not export C8/C9/C10 C-states in _CST
- do not enable SLP_S0 in FSP

BUG=chrome-os-partner:58666
TEST=test on eve board to ensure that OS only sees 3 ACPI C-states
instead of 6 and that it no longer attempts to enter C10

Change-Id: I90e4dc776d1d17d0b700cda63c8476786cd2e4ff
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/18394
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/soc/intel/skylake/acpi.c
src/soc/intel/skylake/chip_fsp20.c