diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-03 18:56:55 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:07:18 +0000 |
commit | e0545cc2bb913d12e37f03fc55d48d1ef10aec8d (patch) | |
tree | 48dd0c48567b9703ba193e4283ef9eaa28d40c75 /src/arch/x86 | |
parent | c9d6e818948f905daba56e181864319dc6f04ef6 (diff) |
arch/x86/acpi: Replace ShiftLeft() with ASL 2.0 syntax
Change-Id: I493d686fb122fb47f0b4dcf34e3635518770f97f
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60718
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/acpi/globutil.asl | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |