From 6a09eee4ade53d31e966ee9ca4c531e4dc9aea73 Mon Sep 17 00:00:00 2001 From: Lijian Zhao Date: Thu, 19 Oct 2017 11:55:29 -0700 Subject: soc/intel/cannonlake: Add platform.asl Include common platform.asl to have generic indication of power transition state of system. TEST=Enter and resume from S3, check the post code had been changed to 0096 and 0097. Change-Id: Ic38ac6d7e60441caeba5c088c9dbe4d901355782 Signed-off-by: Lijian Zhao Reviewed-on: https://review.coreboot.org/22111 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Pratikkumar V Prajapati --- src/soc/intel/cannonlake/acpi/platform.asl | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'src/soc/intel/cannonlake') diff --git a/src/soc/intel/cannonlake/acpi/platform.asl b/src/soc/intel/cannonlake/acpi/platform.asl index 17a19d91fe..773cdcb14b 100644 --- a/src/soc/intel/cannonlake/acpi/platform.asl +++ b/src/soc/intel/cannonlake/acpi/platform.asl @@ -17,6 +17,8 @@ /* Enable ACPI _SWS methods */ #include +/* Generic indicator for sleep state */ +#include /* The APM port can be used for generating software SMIs */ @@ -27,14 +29,6 @@ Field (APMP, ByteAcc, NoLock, Preserve) APMS, 8 // APM status } -/* Port 80 POST */ - -OperationRegion (POST, SystemIO, 0x80, 1) -Field (POST, ByteAcc, Lock, Preserve) -{ - DBG0, 8 -} - /* * The _PIC method is called by the OS to choose between interrupt * routing via the i8259 interrupt controller or the APIC. @@ -48,19 +42,3 @@ Method (_PIC, 1) /* Remember the OS' IRQ routing choice. */ 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) -{ -} - -/* The _WAK method is called on system wakeup */ - -Method (_WAK, 1) -{ - Return (Package (){ 0, 0 }) -} -- cgit v1.2.3