diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-16 02:43:56 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-23 08:30:09 +0000 |
commit | 3c9291b3359d91d7238ed1886f4d87d635a6df55 (patch) | |
tree | 55e5b79d71fd2e0b68b841195b5820bfa4f43520 /src/southbridge/intel/i82371eb/acpi/pirq.asl | |
parent | 034920c1d438ff39f9243a1d6b0d41957405d34c (diff) |
tree: Replace ShiftLeft(a,b,c) with ASL 2.0 syntax
Replace `ShiftLeft (a, b, c)` with `c = a << b`.
Change-Id: Ibd25a05f49f79e80592482a1b0532334f727af58
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70841
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/i82371eb/acpi/pirq.asl')
-rw-r--r-- | src/southbridge/intel/i82371eb/acpi/pirq.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82371eb/acpi/pirq.asl b/src/southbridge/intel/i82371eb/acpi/pirq.asl index f39c6d5edc..3f7518c76e 100644 --- a/src/southbridge/intel/i82371eb/acpi/pirq.asl +++ b/src/southbridge/intel/i82371eb/acpi/pirq.asl @@ -40,7 +40,7 @@ Device(intx) { \ \ Method(_CRS ,0) { \ CreateWordField(IRQB, 1, IRQN) \ - ShiftLeft(1, And(pinx, 0x0f), IRQN) \ + IRQN = 1 << And(pinx, 0x0f) \ Return(IRQB) \ } \ \ |