soc/intel/skylake: Align platform.asl with CNL
Refer _WAK and _PTS ASL functions from common platform.asl TEST=Dump and disassemble DSDT, verify all methods present inside common platform.asl like _WAK, _PTS etc. are still there. Signed-off-by: Subrata Banik <subrata.banik@intel.com> Change-Id: I625e42b3c49abbb3595a4307da5fc24850a98fbb Reviewed-on: https://review.coreboot.org/c/coreboot/+/45980 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
3b3bbd4fba
commit
319a91f894
|
@ -2,9 +2,8 @@
|
||||||
|
|
||||||
/* Enable ACPI _SWS methods */
|
/* Enable ACPI _SWS methods */
|
||||||
#include <soc/intel/common/acpi/acpi_wake_source.asl>
|
#include <soc/intel/common/acpi/acpi_wake_source.asl>
|
||||||
|
/* Generic indicator for sleep state */
|
||||||
External (\_SB.MPTS, MethodObj)
|
#include <soc/intel/common/acpi/platform.asl>
|
||||||
External (\_SB.MWAK, MethodObj)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The _PIC method is called by the OS to choose between interrupt
|
* The _PIC method is called by the OS to choose between interrupt
|
||||||
|
@ -19,28 +18,3 @@ Method (_PIC, 1)
|
||||||
/* Remember the OS' IRQ routing choice. */
|
/* Remember the OS' IRQ routing choice. */
|
||||||
Store (Arg0, PICM)
|
Store (Arg0, PICM)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* The _PTS method (Prepare To Sleep) is called before the OS is
|
|
||||||
* entering a sleep state. The sleep state number is passed in Arg0
|
|
||||||
*/
|
|
||||||
|
|
||||||
Method (_PTS, 1)
|
|
||||||
{
|
|
||||||
If (CondRefOf (\_SB.MPTS))
|
|
||||||
{
|
|
||||||
\_SB.MPTS (Arg0)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The _WAK method is called on system wakeup */
|
|
||||||
|
|
||||||
Method (_WAK, 1)
|
|
||||||
{
|
|
||||||
If (CondRefOf (\_SB.MWAK))
|
|
||||||
{
|
|
||||||
\_SB.MWAK (Arg0)
|
|
||||||
}
|
|
||||||
|
|
||||||
Return (Package (){ 0, 0 })
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue