soc/intel/braswell/acpi: Replace Index(a, b) with ASL 2.0 syntax
Change-Id: I7da6ee3c5bce6b32874e59ad46290b86db8f97c6 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71502 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
14a0876de8
commit
ffc0d2455c
|
@ -45,8 +45,7 @@ Device (TCHG)
|
|||
Method (SPPC, 1)
|
||||
{
|
||||
/* Retrieve Control (index 4) for specified PPSS level */
|
||||
Local0 = DeRefOf (Index (DeRefOf (Index
|
||||
(\_SB.CHPS, ToInteger (Arg0))), 4))
|
||||
Local0 = DerefOf (DerefOf (\_SB.CHPS[ToInteger (Arg0)])[4])
|
||||
|
||||
/* Pass Control value to EC to limit charging */
|
||||
\_SB.PCI0.LPCB.EC0.CHGS (Local0)
|
||||
|
|
|
@ -36,7 +36,7 @@ Device (DPTF)
|
|||
Method (_OSC, 4, Serialized)
|
||||
{
|
||||
/* Check for Passive Policy UUID */
|
||||
If (DeRefOf (Index (IDSP, 0)) == Arg0) {
|
||||
If (DeRefOf (IDSP[0]) == Arg0) {
|
||||
/* Initialize Thermal Devices */
|
||||
^TINI ()
|
||||
|
||||
|
|
Loading…
Reference in New Issue