From f333a442a3767a5b3ca35ca3b75278e3636d44e5 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 01:23:28 +0100 Subject: sb/intel/bd82x6x/acpi: Replace LEqual(a,b) with ASL 2.0 syntax Replace `LEqual(a, b)` with `a == b`. Change-Id: I4e219bea8df64db1d49beb8534f0f37fee0df5b6 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60668 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes Reviewed-by: Sridhar Siricilla --- src/southbridge/intel/bd82x6x/acpi/lpc.asl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/southbridge/intel/bd82x6x/acpi/lpc.asl') diff --git a/src/southbridge/intel/bd82x6x/acpi/lpc.asl b/src/southbridge/intel/bd82x6x/acpi/lpc.asl index 98e979e2eb..07818540b6 100644 --- a/src/southbridge/intel/bd82x6x/acpi/lpc.asl +++ b/src/southbridge/intel/bd82x6x/acpi/lpc.asl @@ -92,15 +92,15 @@ Device (LPCB) { If (HPTE) { CreateDWordField(BUF0, \_SB.PCI0.LPCB.HPET.FED0._BAS, HPT0) - If (Lequal(HPAS, 1)) { + If (HPAS == 1) { HPT0 = HPET_BASE_ADDRESS + 0x1000 } - If (Lequal(HPAS, 2)) { + If (HPAS == 2) { HPT0 = HPET_BASE_ADDRESS + 0x2000 } - If (Lequal(HPAS, 3)) { + If (HPAS == 3) { HPT0 = HPET_BASE_ADDRESS + 0x3000 } } -- cgit v1.2.3