summaryrefslogtreecommitdiff
path: root/src/soc/intel/denverton_ns/acpi/globalnvs.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-09 15:04:49 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-11-22 22:24:19 +0000
commite49856dfa8e1dc1ee6c0b9eb9257ed4d8d95c7af (patch)
treec32bdf58a600c92caba7fcc7a2fff655b4f4dc95 /src/soc/intel/denverton_ns/acpi/globalnvs.asl
parentd3a156060937189801ee94e46c131014517d8088 (diff)
soc/intel/denverton_ns: Convert to ASL 2.0 syntax
Change-Id: I261add8142c3192ab944845e8e1a362a3aca00c8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46240 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mariusz SzafraƄski <mariuszx.szafranski@intel.com>
Diffstat (limited to 'src/soc/intel/denverton_ns/acpi/globalnvs.asl')
-rw-r--r--src/soc/intel/denverton_ns/acpi/globalnvs.asl16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/soc/intel/denverton_ns/acpi/globalnvs.asl b/src/soc/intel/denverton_ns/acpi/globalnvs.asl
index f858cdf0d5..7ce6c7a913 100644
--- a/src/soc/intel/denverton_ns/acpi/globalnvs.asl
+++ b/src/soc/intel/denverton_ns/acpi/globalnvs.asl
@@ -62,27 +62,27 @@ Field (GNVS, ByteAcc, NoLock, Preserve)
/* Set flag to enable USB charging in S3 */
Method (S3UE)
{
- Store (One, \S3U0)
- Store (One, \S3U1)
+ \S3U0 = 1
+ \S3U1 = 1
}
/* Set flag to disable USB charging in S3 */
Method (S3UD)
{
- Store (Zero, \S3U0)
- Store (Zero, \S3U1)
+ \S3U0 = 0
+ \S3U1 = 0
}
/* Set flag to enable USB charging in S5 */
Method (S5UE)
{
- Store (One, \S5U0)
- Store (One, \S5U1)
+ \S5U0 = 1
+ \S5U1 = 1
}
/* Set flag to disable USB charging in S5 */
Method (S5UD)
{
- Store (Zero, \S5U0)
- Store (Zero, \S5U1)
+ \S5U0 = 0
+ \S5U1 = 0
}