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:
parent
fde7a05223
commit
a330382db4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue