coreboot-kgpe-d16/src/mainboard/amd/persimmon
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
..
acpi AGESA binaryPI: Consolidate and fix sleep states 2017-08-23 03:35:58 +00:00
acpi_tables.c AGESA: Remove leftover agesawrapper include 2017-03-07 01:10:39 +01:00
BiosCallOuts.c src/mainboard: Remove unnecessary whitespace 2016-10-07 18:06:14 +02:00
board_info.txt board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
buildOpts.c src/mainboard: Capitalize ROM, RAM, CPU and APIC 2016-08-14 19:06:25 +02:00
cmos.layout mainboard: Clean up boot_option/reboot_bits in cmos.layout 2016-08-17 00:27:42 +02:00
devicetree.cb tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
dsdt.asl AGESA binaryPI: Consolidate and fix sleep states 2017-08-23 03:35:58 +00:00
irq_tables.c mainboard: Format irq_tables.c 2016-07-31 18:44:00 +02:00
Kconfig AGESA f14: Sacrifice ACPI S3 support for EARLY_CBMEM_INIT 2017-08-16 22:04:23 +00:00
Kconfig.name kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
mainboard.c AGESA: Remove leftover s3resume include 2017-03-07 01:11:17 +01:00
Makefile.inc AGESA boards: Rename files containing OEM configuration 2016-05-10 13:39:26 +02:00
mptable.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
OemCustomize.c AGESA boards: Relocate platform memory config 2016-05-10 13:47:08 +02:00
OptionsIds.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
platform_cfg.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
PlatformGnbPcieComplex.h AGESA fam14: Sanitize headerfile 2017-03-07 01:10:57 +01:00
romstage.c AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00