diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-16 04:07:23 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-19 16:13:50 +0000 |
commit | f3649f03f3fd0f5ff8b6e08a3a2e313ed670d3fa (patch) | |
tree | 9736200e367d5c4bbe48346e05aedec46ea782f9 /src/mainboard/google/parrot | |
parent | 848c37da42572df8930bb9651c70a2fab91ba131 (diff) |
tree: Replace XOr(a,b,c) with ASL 2.0 syntax
Replace `XOr (a, b, c)` with `c = a ^ b`, respectively `c ^= b` where
possible.
Change-Id: Ic5f67684bbd4ea115c4dae8a4417d88bea0d6b77
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70843
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/google/parrot')
-rw-r--r-- | src/mainboard/google/parrot/acpi/mainboard.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/parrot/acpi/mainboard.asl b/src/mainboard/google/parrot/acpi/mainboard.asl index 6d5e9070fe..7fc07fa6f1 100644 --- a/src/mainboard/google/parrot/acpi/mainboard.asl +++ b/src/mainboard/google/parrot/acpi/mainboard.asl @@ -11,7 +11,7 @@ Scope (\_GPE) { * changes again. GIV1 is the interrupt level control * register for GPIO bits 15:8 */ - Xor(GIV1, 0x80, GIV1) + GIV1 ^= 0x80 Notify(\_SB.LID0,0x80) } } |