soc/intel/cannonlake/acpi: Replace Multiply(a,b) with ASL 2.0 syntax
Replace `Multiply (a, b)` with `a * b`. Change-Id: I6dc9f57773754e89df4b4ffd088a4693af0452e3 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60565 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
24eb605280
commit
3d3d498e8f
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ Method (GADD, 1, NotSerialized)
|
|||
}
|
||||
Store (PCRB (Local0), Local2)
|
||||
Local2 += PAD_CFG_BASE
|
||||
Return (Local2 + Multiply (Local1, 16))
|
||||
Return (Local2 + Local1 * 16)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -92,5 +92,5 @@ Method (GADD, 1, NotSerialized)
|
|||
}
|
||||
Store (PCRB (Local0), Local2)
|
||||
Local2 += PAD_CFG_BASE
|
||||
Return (Local2 + Multiply (Local1, 16))
|
||||
Return (Local2 + Local1 * 16)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue