From bb7dbcdf30ee9697dda0ae45025b4ea183b7a748 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 8 Feb 2016 00:09:55 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/13623 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/hp/dl145_g1/dsdt.asl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/mainboard/hp') 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) } -- cgit v1.2.3