Vlv2DeviceRefCodePkg&Vlv2TbltDevicePkg:Add setup option of LPE Audio.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
@@ -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)
|
||||
}
|
||||
|
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user