summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-04 09:31:28 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-12 14:40:22 +0000
commite62163845358a756d3159ce7b9e66cd8dc6c6808 (patch)
tree89935fc77da55e7bedf1a7eff1a124f0ec5ff08c /src/superio
parent527a4f37db39042764a03643daf93904b93f1e2c (diff)
downloadcoreboot-e62163845358a756d3159ce7b9e66cd8dc6c6808.tar.xz
superio/smsc/mec1308/acpi: Convert superio.asl to ASL 2.0 syntax
Change-Id: I7d15dbb90bbf910cdfd59d67fa4d9ca41420b8d9 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45990 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/smsc/mec1308/acpi/superio.asl20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/superio/smsc/mec1308/acpi/superio.asl b/src/superio/smsc/mec1308/acpi/superio.asl
index b688697ace..f69232377d 100644
--- a/src/superio/smsc/mec1308/acpi/superio.asl
+++ b/src/superio/smsc/mec1308/acpi/superio.asl
@@ -37,30 +37,30 @@ Device (SIO) {
Method (ENTR, 0, NotSerialized)
{
- Store (0x55, SI2E)
+ SI2E = 0x55
}
Method (EXIT, 0, NotSerialized)
{
- Store (0xaa, SI2E)
+ SI2E = 0xaa
}
/* Parse activate register for an LDN */
Method (ISEN, 1, NotSerialized)
{
ENTR ()
- Store (Arg0, SLDN)
- Store (SACT, Local0)
+ SLDN = Arg0
+ Local0 = SACT
EXIT ()
/* Check if it exists */
- If (LEqual (Local0, 0xFF))
+ If (Local0 == 0xFF)
{
Return (0x00)
}
/* Check if activated */
- If (LEqual (Local0, One))
+ If (Local0 == 1)
{
Return (0x0F)
}
@@ -74,8 +74,8 @@ Device (SIO) {
Method (SENA, 1, NotSerialized)
{
ENTR ()
- Store (Arg0, SLDN)
- Store (One, SACT)
+ SLDN = Arg0
+ SACT = 1
EXIT ()
}
@@ -83,8 +83,8 @@ Device (SIO) {
Method (SDIS, 1, NotSerialized)
{
ENTR ()
- Store (Arg0, SLDN)
- Store (Zero, SACT)
+ SLDN = Arg0
+ SACT = 0
EXIT ()
}