coreboot-kgpe-d16/src/mainboard/lenovo
Kyösti Mälkki 390ba044dc AGESA binaryPI: Consolidate and fix sleep states
SSFG was meant to be used as a mask to enable sleep states
_S1 thru _S4. However as a logical instead of bitwise 'and'
operation was used, all the states were enabled if only
one was marked available.

State _S3 is now set conditionally if HAVE_ACPI_RESUME=y.
For pi/hudson this had been fixed already preprocessor.

Note that all boards had SSFG == 0x0D that previously
enabled ACPI S3 sleep state even when it was not available.
States _S1 and _S2 still appear enabled in ASL/AML
but may not actually work.

TEST: 'cat /sys/power/state' and notice choice 'mem' was
removed from the list of available sleep states.

Change-Id: I27d616871c1771f0c87d8fba23d4ce1569607765
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/21091
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
2017-08-23 03:35:58 +00:00
..
g505s AGESA binaryPI: Consolidate and fix sleep states 2017-08-23 03:35:58 +00:00
l520 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
r400 ec/lenovo/h8: Fix IASL warnings 2015-11-24 22:34:34 +01:00
s230u mb/lenovo/*/romstage: Remove COM IO port 2017-05-21 16:39:30 +02:00
t60 Kconfig: Introduce HAVE_(VBE_)LINEAR_FRAMEBUFFER 2017-06-02 18:37:45 +02:00
t400 mb/lenovo/t400: Switch to new hybrid graphics driver 2017-08-10 16:06:19 +00:00
t420 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
t420s nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
t430 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
t430s nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
t500 lenovo/t500: Add clone of Lenovo T400 2015-12-08 16:44:40 +01:00
t520 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
t530 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
x1_carbon_gen1 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
x60 Update files with no newline at the end 2017-07-24 15:08:16 +00:00
x200 Update files with no newline at the end 2017-07-24 15:08:16 +00:00
x201 Update files with no newline at the end 2017-07-24 15:08:16 +00:00
x220 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
x230 nb/intel/sandybridge/raminit: Add Kconfig option for fuses 2017-08-10 16:09:01 +00:00
Kconfig kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
Kconfig.name kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00