From 372573eaff0f757f004de2f4fb3f688de93bbbba Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 16 Dec 2022 03:49:55 +0100 Subject: tree: Replace ShiftLeft(a,b) with ASL 2.0 syntax Replace `ShiftLeft (a, b)` with `a << b`. Change-Id: I812b1ed9dcf3a5749b39a9beb9f870258ad6a0de Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70842 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/ec/google/chromeec/acpi/ec.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ec/google/chromeec/acpi') diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index 8b0948df47..7a17c54cfc 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -621,7 +621,7 @@ Device (EC0) */ Method (UPPS, 1, Serialized) { - Or (USPP, ShiftLeft (1, Arg0), USPP) + Or (USPP, 1 << Arg0, USPP) } /* @@ -630,7 +630,7 @@ Device (EC0) */ Method (UPPC, 1, Serialized) { - And (USPP, Not (ShiftLeft (1, Arg0)), USPP) + And (USPP, Not (1 << Arg0), USPP) } #endif -- cgit v1.2.3