aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd/torpedo
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/torpedo
parent01586063ab0b65421678399256441d7a5190e169 (diff)
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/torpedo')
-rw-r--r--src/mainboard/amd/torpedo/dsdt.asl3
1 files changed, 2 insertions, 1 deletions
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))