coreboot-kgpe-d16/src/mainboard/amd/db-ft3b-lc
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 binaryPI: Drop unused agesawrapper include 2017-07-17 19:31:22 +00:00
BiosCallOuts.c binaryPI: Switch to agesa/def_callouts.c 2017-07-17 19:30:46 +00:00
board_info.txt
cmos.layout mainboard: Clean up boot_option/reboot_bits in cmos.layout 2016-08-17 00:27:42 +02:00
devicetree.cb
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 binaryPI: Introduce BINARYPI_LEGACY_WRAPPER and its counterpart 2017-08-02 05:11:04 +00:00
Kconfig.name
mainboard.c binaryPI: Drop unused agesawrapper include 2017-07-17 19:31:34 +00:00
Makefile.inc src/mainboard: Capitalize ROM, RAM, CPU and APIC 2016-08-14 19:06:25 +02:00
Memphis_MEM4G16D3EABG.spd.hex
mptable.c mainboard/*/*/mptable.c: Improve code formatting 2016-09-26 13:32:21 +02:00
OemCustomize.c mainboard/amd/db-ft3b-lc: Use C89 comments style & remove commented code 2016-10-21 19:43:33 +02:00
romstage.c binaryPI: Disable CAR with empty stack 2017-07-17 19:31:09 +00:00