coreboot-kgpe-d16/src/mainboard/lippert/toucan-af
Martin Roth f77516cb6d ACPI: Work around IASL warning reading/writing same register
The newer versions of IASL are unhappy when an operator
has the same object as both source and destination.

The warning can be completely disabled with a command
line argument, but in general, I'd really rather not
just disable warnings.

The bits in this register are write 1 to clear, so reading and
writing the same register is what we want to do.  Instead, store
it in a temporary register then write it in a second operation.

Fixes warning:
dsdt.aml   1396:  Store(PWST, PWST)
Warning  3023 -                 ^ Duplicate value in list
(Source is the same as Target)

Change-Id: I52d73d4431db237be83016d67cd397f31b53d9c6
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12691
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-12-10 16:32:21 +01:00
..
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
BiosCallOuts.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig lippert/frontronner-af & toucan-af: Fix IASL warnings 2015-12-02 16:10:06 +01:00
Kconfig.name kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
Makefile.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
OptionsIds.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
PlatformGnbPcie.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
PlatformGnbPcieComplex.h 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 board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
buildOpts.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cmos.layout mainboard: Remove last_boot NVRAM option 2015-11-05 02:21:52 +01:00
devicetree.cb tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
dsdt.asl ACPI: Work around IASL warning reading/writing same register 2015-12-10 16:32:21 +01:00
irq_tables.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mainboard.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mptable.c 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
romstage.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00