summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627hf/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 13:12:16 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:03:56 +0000
commit5a303b0bca53626b76be5910942c09970a206461 (patch)
treed3a9e44a7294206e7f5f97e7ec07d1ad727ae843 /src/superio/winbond/w83627hf/acpi
parent0a137cb91b66f57d636c51d1769e9659c96ec44f (diff)
superio/winbond/w83627hf/acpi: Replace LOr() with ASL 2.0 syntax
Replace `LOr (a, b)` with `a || b`. Change-Id: I96cd391f1bdeea0c7e0c4a71c225a3e6925b4c6b Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60575 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/superio/winbond/w83627hf/acpi')
-rw-r--r--src/superio/winbond/w83627hf/acpi/superio.asl26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl
index f53872e035..326b717eee 100644
--- a/src/superio/winbond/w83627hf/acpi/superio.asl
+++ b/src/superio/winbond/w83627hf/acpi/superio.asl
@@ -204,7 +204,7 @@ Device(SIO) {
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -428,7 +428,7 @@ Device(SIO) {
Store (0x0D, Local0)
}
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -605,7 +605,7 @@ Device(SIO) {
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -729,7 +729,7 @@ Device(SIO) {
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -854,7 +854,7 @@ Device(SIO) {
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -978,7 +978,7 @@ Device(SIO) {
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -1064,7 +1064,7 @@ Device(SIO) {
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (Lor(LOr (IO1H, IO1L), LOr (IO2H, IO2L)))
+ ElseIf (IO1H || IO1L || IO2H || IO2L)
{
#ifdef W83627HF_KBC_COMPAT
Store (0x0F, Local0)
@@ -1169,7 +1169,7 @@ Device(SIO) {
If (ACTR && IRQ1) {
Store (0x0F, Local0)
}
- ElseIf (Lor(LOr (IO1H, IO1L), LOr (IO2H, IO2L)))
+ ElseIf (IO1H || IO1L || IO2H || IO2L)
{
#ifdef W83627HF_KBC_COMPAT
Store (0x0F, Local0)
@@ -1244,8 +1244,8 @@ Device(SIO) {
Method (_STA) {
Store(0, Local0)
ENTER_CONFIG_MODE (7)
- If (LOr(IO1L, IO1H)) {
- If (LOr(ACTR, ACT1)) {
+ If (IO1L || IO1H) {
+ If (ACTR || ACT1) {
Store (0x0F, Local0)
}
Else {
@@ -1299,8 +1299,8 @@ Device(SIO) {
{
Store(0, Local0)
ENTER_CONFIG_MODE (7)
- If (LOr(IO2L, IO2H)) {
- If (LOr(ACTR, ACT2)) {
+ If (IO2L || IO2H) {
+ If (ACTR || ACT2) {
Store (0x0F, Local0)
}
Else {
@@ -1377,7 +1377,7 @@ Device(SIO) {
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}