summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl
diff options
context:
space:
mode:
authorLu, ShifeiX A <shifeix.a.lu@intel.com>2017-01-20 14:16:03 +0800
committerGuo Mang <mang.guo@intel.com>2017-05-09 13:03:08 +0800
commit345670330fc0431737c26e9ae8a51ec9ad4f4129 (patch)
treec6d9696cf764437118345bb2f274cab418943673 /Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl
parent2f04afd6f3c433c831e0c15823e95ac975a6aa4b (diff)
downloadedk2-platforms-345670330fc0431737c26e9ae8a51ec9ad4f4129.tar.xz
Enable Mor.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl13
1 files changed, 7 insertions, 6 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl
index 7847f2f6dc..04ea3ad74d 100644
--- a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl
+++ b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platform.asl
@@ -1,5 +1,5 @@
/** @file
- Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -19,7 +19,6 @@ External(PDC1)
External(PDC2)
External(PDC3)
External(\_PR.CPU0._PPC, IntObj)
-External(\_SB.PCI0.LPCB.TPM.PTS, MethodObj)
Name(ECUP, 1) // EC State indicator: 1- Normal Mode 0- Low Power Mode
Mutex(EHLD, 0) // EC Hold indicator: 0- No one accessing the EC Power State 1- Someone else is accessing the EC Power State
@@ -153,10 +152,12 @@ Method(_PTS,1)
//clear GPE0_STS
Store(Ones, G0S)
- //
- // Call TPM PTS method
- //
- \_SB.TPM.PTS (Arg0)
+ If (CondRefOf(\_SB.TPM.PTS)) {
+ //
+ // Call TPM PTS method
+ //
+ \_SB.TPM.PTS (Arg0)
+ }
//
// Set GPIO_116 (SOC_CODEC_IRQ) 20k pull-down for device I2S audio codec INT343A before enter S3/S4