coreboot-kgpe-d16/src
Aaron Durbin d6d6db3717 lynxpoint: fix enable_pm1() function
The new enable_pm1() function was doing 2 things wrong:

1. It was doing a RMW of the pm1 register. This means we were
   keeping around the enables from the OS during S3 resume. This
   is bad in the face of the RTC alarm waking us up because it would
   cause an infinite stream of SMIs.
2. The register size of PM1_EN is 16-bits. However, the previous
   implementation was accessing it as a 32-bit register.

The PM1 enables should only be set to what we expect to handle in the
firmware before the OS changes to ACPI mode.

Change-Id: Ib1d3caf6c84a1670d9456ed159420c6cb64f555e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2978
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-04-01 23:25:20 +02:00
..
arch x86: Drop BOARD_HAS_FADT 2013-03-30 19:33:49 +01:00
console console: Make use of CONFIG_USE_OPTION_TABLE 2013-04-01 20:54:48 +02:00
cpu lynxpoint: split clearing and enabling of smm 2013-04-01 23:24:32 +02:00
device pci: don't load vga option rom before S3 check 2013-04-01 20:55:56 +02:00
drivers x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
ec x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
include memrange: add 2 new range_entry routines 2013-03-29 20:11:28 +01:00
lib memrange: add 2 new range_entry routines 2013-03-29 20:11:28 +01:00
mainboard ASRock E350M1: mptable.c: Remove unused variable `dev` 2013-04-01 21:07:46 +02:00
northbridge sandybridge: add option to mark graphics memory write-combining. 2013-03-29 20:00:39 +01:00
southbridge lynxpoint: fix enable_pm1() function 2013-04-01 23:25:20 +02:00
superio Winbond W83627HF: Rename and move ASL snippet to `acpi/superio.asl` 2013-04-01 21:09:24 +02:00
vendorcode chromeos: remove CACHE_ROM automatic selection 2013-03-29 20:10:57 +01:00
Kconfig dynamic cbmem: fix memconsole and timestamps 2013-03-23 19:44:25 +01:00