soc/intel/{skylake,common}/acpi/dptf/thermal.asl: Prevent iasl remarks
Prevent iasl remarks about unused parameters. BUG=N/A TEST=build Change-Id: I54fa4712e618038fdd5a96c2012c2ec64ca34706 Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
This commit is contained in:
committed by
Patrick Georgi
parent
0826e35a35
commit
8629b49606
@@ -510,6 +510,7 @@ Device (EC0)
|
|||||||
Return (^TBMD)
|
Return (^TBMD)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EC_ENABLE_MULTIPLE_DPTF_PROFILES
|
||||||
/* Read current Device DPTF Profile Number */
|
/* Read current Device DPTF Profile Number */
|
||||||
Method (RCDP, 0, NotSerialized)
|
Method (RCDP, 0, NotSerialized)
|
||||||
{
|
{
|
||||||
@@ -524,7 +525,7 @@ Device (EC0)
|
|||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#if CONFIG(EC_GOOGLE_CHROMEEC_ACPI_USB_PORT_POWER)
|
#if CONFIG(EC_GOOGLE_CHROMEEC_ACPI_USB_PORT_POWER)
|
||||||
/*
|
/*
|
||||||
* Enable USB Port Power
|
* Enable USB Port Power
|
||||||
|
@@ -79,6 +79,10 @@ Method (TPET)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef EC_ENABLE_MULTIPLE_DPTF_PROFILES
|
||||||
|
External (\_SB.PCI0.LPCB.EC0.RCDP, MethodObj)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Method to return trip temperature value depending upon the device mode.
|
* Method to return trip temperature value depending upon the device mode.
|
||||||
* Arg0 --> Value to return when device is in tablet mode
|
* Arg0 --> Value to return when device is in tablet mode
|
||||||
@@ -86,15 +90,12 @@ Method (TPET)
|
|||||||
*/
|
*/
|
||||||
Method (DTRP, 2, Serialized)
|
Method (DTRP, 2, Serialized)
|
||||||
{
|
{
|
||||||
#ifdef EC_ENABLE_MULTIPLE_DPTF_PROFILES
|
If (CondRefOf (\_SB.PCI0.LPCB.EC0.RCDP)) {
|
||||||
If (LEqual (\_SB.PCI0.LPCB.EC0.RCDP, One)) {
|
If (LEqual (\_SB.PCI0.LPCB.EC0.RCDP, One)) {
|
||||||
Return (CTOK (Arg0))
|
Return (CTOK (Arg0))
|
||||||
} Else {
|
|
||||||
#endif
|
|
||||||
Return (CTOK (Arg1))
|
|
||||||
#ifdef EC_ENABLE_MULTIPLE_DPTF_PROFILES
|
|
||||||
}
|
}
|
||||||
#endif
|
}
|
||||||
|
Return (CTOK (Arg1))
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DPTF_TSR0_SENSOR_ID
|
#ifdef DPTF_TSR0_SENSOR_ID
|
||||||
|
@@ -79,6 +79,11 @@ Method (TPET)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(DPTF_TSR0_SENSOR_ID) || defined(DPTF_TSR1_SENSOR_ID) || defined(DPTF_TSR2_SENSOR_ID)
|
#if defined(DPTF_TSR0_SENSOR_ID) || defined(DPTF_TSR1_SENSOR_ID) || defined(DPTF_TSR2_SENSOR_ID)
|
||||||
|
|
||||||
|
#ifndef EC_ENABLE_MULTIPLE_DPTF_PROFILES
|
||||||
|
External (\_SB.PCI0.LPCB.EC0.RCDP, MethodObj)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Method to return trip temperature value depending upon the device mode.
|
* Method to return trip temperature value depending upon the device mode.
|
||||||
* Arg0 --> Value to return when device is in tablet mode
|
* Arg0 --> Value to return when device is in tablet mode
|
||||||
@@ -86,15 +91,12 @@ Method (TPET)
|
|||||||
*/
|
*/
|
||||||
Method (DTRP, 2, Serialized)
|
Method (DTRP, 2, Serialized)
|
||||||
{
|
{
|
||||||
#ifdef EC_ENABLE_MULTIPLE_DPTF_PROFILES
|
If (CondRefOf (\_SB.PCI0.LPCB.EC0.RCDP)) {
|
||||||
If (LEqual (\_SB.PCI0.LPCB.EC0.RCDP, One)) {
|
If (LEqual (\_SB.PCI0.LPCB.EC0.RCDP, One)) {
|
||||||
Return (CTOK (Arg0))
|
Return (CTOK (Arg0))
|
||||||
} Else {
|
|
||||||
#endif
|
|
||||||
Return (CTOK (Arg1))
|
|
||||||
#ifdef EC_ENABLE_MULTIPLE_DPTF_PROFILES
|
|
||||||
}
|
}
|
||||||
#endif
|
}
|
||||||
|
Return (CTOK (Arg1))
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user