From e0545cc2bb913d12e37f03fc55d48d1ef10aec8d Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 3 Jan 2022 18:56:55 +0100 Subject: [PATCH] arch/x86/acpi: Replace ShiftLeft() with ASL 2.0 syntax Change-Id: I493d686fb122fb47f0b4dcf34e3635518770f97f Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60718 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/arch/x86/acpi/globutil.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl index 35b6c17327..ff247b9ddb 100644 --- a/src/arch/x86/acpi/globutil.asl +++ b/src/arch/x86/acpi/globutil.asl @@ -95,7 +95,7 @@ Method(I2BM, 1) Store(0, Local0) if (LNotEqual(ARG0, 0)) { Store(1, Local1) - ShiftLeft(Local1, ARG0, Local0) + Local0 = Local1 << ARG0 } Return(Local0) }