summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2016-02-08 00:09:55 +0100
committerMartin Roth <martinroth@google.com>2016-02-09 19:57:57 +0100
commitbb7dbcdf30ee9697dda0ae45025b4ea183b7a748 (patch)
treebb22d11a052081a04cb3e4a5081758d0c9dca934 /src/mainboard/amd
parent01586063ab0b65421678399256441d7a5190e169 (diff)
downloadcoreboot-bb7dbcdf30ee9697dda0ae45025b4ea183b7a748.tar.xz
ASL: Use temporary variable when storing register into itself.
Otherwise it triggers a IASL warning with new IASL. Change-Id: I090ee18df78ea779137ee6797c55b96ea27e6d27 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: https://review.coreboot.org/13623 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/dinar/dsdt.asl3
-rw-r--r--src/mainboard/amd/torpedo/dsdt.asl3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/amd/dinar/dsdt.asl b/src/mainboard/amd/dinar/dsdt.asl
index c5dacefa6e..2c2ae76d93 100644
--- a/src/mainboard/amd/dinar/dsdt.asl
+++ b/src/mainboard/amd/dinar/dsdt.asl
@@ -802,7 +802,8 @@ DefinitionBlock (
}
/* Arbitrarily clear PciExpWakeStatus */
- Store(PEWS, PEWS)
+ Store(PEWS, Local0)
+ Store(Local0, PEWS)
/* if(DeRefOf(Index(WKST,0))) {
* Store(0, Index(WKST,1))
diff --git a/src/mainboard/amd/torpedo/dsdt.asl b/src/mainboard/amd/torpedo/dsdt.asl
index 8926966f63..2014a91f42 100644
--- a/src/mainboard/amd/torpedo/dsdt.asl
+++ b/src/mainboard/amd/torpedo/dsdt.asl
@@ -774,7 +774,8 @@ DefinitionBlock (
}
/* Arbitrarily clear PciExpWakeStatus */
- Store(PEWS, PEWS)
+ Store(PEWS, Local0)
+ Store(Local0, PEWS)
/* if(DeRefOf(Index(WKST,0))) {
* Store(0, Index(WKST,1))