coreboot-kgpe-d16/src/mainboard/google/link
Aaron Durbin 30b0c7adf0 mainboards: align on using ACPI_Sx definitions
The mainboard_smi_sleep() function takes ACPI sleep values
of the form S3=3, S4=4, S5=5, etc. All the chipsets ensure
that whatever hardware PM1 control register values are used
the interface to the mainboard is the same. Move all the
SMI handlers in the mainboard directory to not open code
the literal values 3 and 5 for ACPI_S3 and ACPI_S5.

There were a few notable exceptions where the code was
attempting to use the hardware values and not the common
translated values. The few users of SLEEP_STATE_X were
updated to align with ACPI_SX as those defines are
already equal. The removal of SLEEP_STATE_X defines is
forthcoming in a subsequent patch.

BUG=chrome-os-partner:54977

Change-Id: I76592c9107778cce5995e5af764760453f54dc50
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15664
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2016-07-15 08:30:31 +02:00
..
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
acpi_tables.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
board_info.txt
chromeos.c southbridge/intel/bd82x6x: Use common gpio.c 2016-02-18 01:35:57 +01:00
chromeos.fmd chromeos.fmd: Mark RW_LEGACY as CBFS 2016-04-05 13:37:31 +02:00
cmos.layout mainboard: Remove last_boot NVRAM option 2015-11-05 02:21:52 +01:00
devicetree.cb link: Support native raminit 2016-02-12 19:10:04 +01:00
dsdt.asl tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
elpida_4Gb_1600_x16.spd.hex
gpio.c southbridge/intel/bd82x6x: Use common gpio.c 2016-02-18 01:35:57 +01:00
hda_verb.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i915.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i915io.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i915io.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
intel_dp.c
Kconfig intel/sandybridge: Fix builds with System Agent blob 2016-06-23 21:52:46 +02:00
Kconfig.name
mainboard.c southbridge/intel/bd82x6x: Use common gpio.c 2016-02-18 01:35:57 +01:00
mainboard_smi.c mainboards: align on using ACPI_Sx definitions 2016-07-15 08:30:31 +02:00
Makefile.inc Move gpio.h to gpio.c on sandy and ivy. 2016-02-12 04:22:00 +01:00
micron_4Gb_1600_1.35v_x16.spd.hex
onboard.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
romstage.c southbridge/intel/bd82x6x: Use common gpio.c 2016-02-18 01:35:57 +01:00
samsung_4Gb_1600_1.35v_x16.spd.hex
thermal.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00