diff options
author | timhe <timhe@timhe> | 2016-01-21 07:11:59 +0000 |
---|---|---|
committer | zwei4 <david.wei@intel.com> | 2016-04-12 16:14:39 +0800 |
commit | 2b749f36be752d8237a17d0e4e0e0b4ca97295a9 (patch) | |
tree | 9555b7f8a1206dd9c3c56038b67463bd808c354e /Vlv2DeviceRefCodePkg | |
parent | 3280cfba1a1b7a025c11d3c7d648a106a45791e9 (diff) | |
download | edk2-platforms-2b749f36be752d8237a17d0e4e0e0b4ca97295a9.tar.xz |
Vlv2TbltDevicePkg/Vlv2DeviceRefCodePkg:
Add setup option to control _STA of LPE Audio.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shifei Lu <shifeix.a.lu@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@19704 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Vlv2DeviceRefCodePkg')
-rw-r--r-- | Vlv2DeviceRefCodePkg/AcpiTablesPCAT/GloblNvs.asl | 3 | ||||
-rw-r--r-- | Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Pch.asl | 12 | ||||
-rw-r--r-- | Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchLpss.asl | 7 |
3 files changed, 16 insertions, 6 deletions
diff --git a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/GloblNvs.asl b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/GloblNvs.asl index 21e526c505..32cfd9d411 100644 --- a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/GloblNvs.asl +++ b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/GloblNvs.asl @@ -5,7 +5,7 @@ ;* Family of Customer Reference Boards. *;
;* *;
;* *;
-;* Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved *;
+;* Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved *;
;
; This program and the accompanying materials are licensed and made available under
; the terms and conditions of the BSD License that accompanies this distribution.
@@ -349,5 +349,6 @@ Field(GNVS,AnyAcc,Lock,Preserve) DIDX, 32, //(793) Device ID for eDP device
IOT, 8, //(794) MinnowBoard Max JP1 is configured for MSFT IOT project.
BATT, 8, //(795) The Flag of RTC Battery Prensent.
+ LPAD, 8, //(796)
}
diff --git a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Pch.asl b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Pch.asl index 38dac87bcd..0d127198ec 100644 --- a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Pch.asl +++ b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Pch.asl @@ -5,7 +5,7 @@ ;* Family of Customer Reference Boards. *;
;* *;
;* *;
-;* Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved *;
+;* Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved *;
;
; This program and the accompanying materials are licensed and made available under
; the terms and conditions of the BSD License that accompanies this distribution.
@@ -139,7 +139,10 @@ scope (\_SB) {
If (LAnd(LAnd(LEqual(LPEE, 2), LEqual(LPED, 0)), LEqual(OSEL, 0)))
{
- Return (0xF)
+ If(LEqual(LPAD, 1))
+ {
+ Return (0xF)
+ }
}
Return (0x0)
}
@@ -218,7 +221,10 @@ scope (\_SB) {
If (LAnd(LAnd(LEqual(LPEE, 2), LEqual(LPED, 0)), LEqual(OSEL, 1)))
{
- Return (0xF)
+ If(LEqual(LPAD, 1))
+ {
+ Return (0xF)
+ }
}
Return (0x0)
}
diff --git a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchLpss.asl b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchLpss.asl index 3e61e7925b..ecb20c10b4 100644 --- a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchLpss.asl +++ b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchLpss.asl @@ -5,7 +5,7 @@ ;* Family of Customer Reference Boards. *;
;* *;
;* *;
-;* Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved *;
+;* Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved *;
;
; This program and the accompanying materials are licensed and made available under
; the terms and conditions of the BSD License that accompanies this distribution.
@@ -605,7 +605,10 @@ Device(I2C2) {
If (LEqual(LPEE, 2)) { // LPE enable/disable
- Return(0xF)
+ If (LEqual(LPAD, 1))
+ {
+ Return(0xF)
+ }
}
Return(0)
}
|