diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2016-02-08 00:09:55 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-09 19:57:57 +0100 |
commit | bb7dbcdf30ee9697dda0ae45025b4ea183b7a748 (patch) | |
tree | bb22d11a052081a04cb3e4a5081758d0c9dca934 /src/mainboard/hp | |
parent | 01586063ab0b65421678399256441d7a5190e169 (diff) | |
download | coreboot-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/hp')
-rw-r--r-- | src/mainboard/hp/dl145_g1/dsdt.asl | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mainboard/hp/dl145_g1/dsdt.asl b/src/mainboard/hp/dl145_g1/dsdt.asl index 52a8784da5..9e131b5169 100644 --- a/src/mainboard/hp/dl145_g1/dsdt.asl +++ b/src/mainboard/hp/dl145_g1/dsdt.asl @@ -250,11 +250,16 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1, "LXBIOS", "LXB-DSDT", 1) Notify (\_SB.PWRB, 0x02) } } - Store (\_SB.PCI0.GSTS, \_SB.PCI0.GSTS) - Store (\_SB.PCI0.STMC, \_SB.PCI0.STMC) - Store (\_SB.PCI0.STC0, \_SB.PCI0.STC0) - Store (\_SB.PCI0.STC1, \_SB.PCI0.STC1) - Store (\_SB.PCI0.STHW, \_SB.PCI0.STHW) + Store (\_SB.PCI0.GSTS, Local0) + Store (Local0, \_SB.PCI0.GSTS) + Store (\_SB.PCI0.STMC, Local0) + Store (Local0, \_SB.PCI0.STMC) + Store (\_SB.PCI0.STC0, Local0) + Store (Local0, \_SB.PCI0.STC0) + Store (\_SB.PCI0.STC1, Local0) + Store (Local0, \_SB.PCI0.STC1) + Store (\_SB.PCI0.STHW, Local0) + Store (Local0, \_SB.PCI0.STHW) If (LEqual (Arg0, 0x03)) { // Wake from S3 state Notify (\_SB.PCI0.TP2P.USB0, 0x01) } |