soc/intel/apollolake/acpi: Replace Divide(a,b) with ASL 2.0 syntax

Replace `Divide (a, b)` with `a / b`.

Change-Id: Ifb377f0abb50a736aa3aa53a11d45bee65488c4c
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60569
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer
2021-12-31 12:03:37 +01:00
parent fde7a05223
commit a330382db4

View File

@@ -68,7 +68,7 @@ Scope (\_SB)
Method (CHSA, 0x1, Serialized)
{
/* Arg0 - GPIO pad offset relative to the community */
Local1 = HOSTSW_OWN_REG_0 + Divide (Arg0, 32) * 4
Local1 = HOSTSW_OWN_REG_0 + Arg0 / 32 * 4
Return (Local1)
}