coreboot-kgpe-d16/src/ec
Martin Roth d890b45520 ACPI: Add hack to avoid IASL warning when reading back registers
Upcoming versions of IASL give a warning about unused methods.  This
adds an operation after the read to use the local variable and avoid
the warning.

The warning can be completely disabled on the command line, but as it
can find real issues, my preference is to not do that.

Fixes warnings:
dsdt.aml 640: 		           Store (CTMP, Local0)
Warning  3144 - Method Local is set but never used ^  (Local0)

Change-Id: If55bb8e03abb8861e1f2f08a8bcb1be8c9783afe
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12704
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-12-26 20:53:49 +01:00
..
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
compal/ene932 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
google/chromeec tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
kontron/it8516e tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lenovo ec/lenovo/h8: Fix IASL warnings 2015-11-24 22:34:34 +01:00
quanta ACPI: Add hack to avoid IASL warning when reading back registers 2015-12-26 20:53:49 +01:00
smsc/mec1308 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00