summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan/variants/terra/include
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-16 02:25:30 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-23 03:16:35 +0000
commit034920c1d438ff39f9243a1d6b0d41957405d34c (patch)
tree7f31b5de997fbd30ef15cf854c916f24c11fb627 /src/mainboard/google/cyan/variants/terra/include
parent100f92c54f2f199e98d817bd16ae7530e8ad719c (diff)
tree: Replace ShiftRight(a,b,c) with ASL 2.0 syntax
Replace `ShiftRight (a, b, c)` with `c = a >> b`. One case was simplified to just `a >> b`. Change-Id: I889012b0a3067138e6f02d3fe8e97151effb5c2a Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70840 Reviewed-by: Caveh Jalali <caveh@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/cyan/variants/terra/include')
-rw-r--r--src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl
index 0bee309e14..1f46c69aeb 100644
--- a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl
@@ -10,7 +10,7 @@ Scope (\_SB)
{
Method (GPID, 0, Serialized) // GPID: Get Project ID for Terra2/Terra3
{
- And( ShiftRight (\BDID, 3, Local0), 0x01, Local0)
+ And(\BDID >> 3, 0x01, Local0)
Return (Local0)
}
}