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/superio/acpi/pnp.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/superio/acpi/pnp.asl') diff --git a/src/superio/acpi/pnp.asl b/src/superio/acpi/pnp.asl index 51fdb4fbb8..167c3636b1 100644 --- a/src/superio/acpi/pnp.asl +++ b/src/superio/acpi/pnp.asl @@ -102,7 +102,7 @@ #define PNP_READ_IO(IO_FROM, RESOURCE_TEMPLATE, IO_TAG) \ CreateWordField (RESOURCE_TEMPLATE, IO_TAG._MIN, IO_TAG##I)\ CreateWordField (RESOURCE_TEMPLATE, IO_TAG._MAX, IO_TAG##A)\ - Or (ShiftLeft (IO_FROM##_HIGH_BYTE, 8), IO_FROM##_LOW_BYTE, Local0)\ + Or (IO_FROM##_HIGH_BYTE << 8, IO_FROM##_LOW_BYTE, Local0)\ IO_TAG##I = Local0 \ IO_TAG##A = Local0 -- cgit v1.2.3