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:
lushifex
2016-06-08 14:24:16 +08:00
committed by david wei
parent a0f3b02894
commit aa44e98dc2
9 changed files with 39 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
// /** @file
//
// Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
// Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
//
// This program and the accompanying materials are licensed and made available under
@@ -790,6 +790,15 @@ form formid = AZALIA_OPTIONS_FORM_ID,
option text = STRING_TOKEN(STR_LPE_ACPI_MODE), value=2, flags=0 | RESET_REQUIRED;
endoneof;
grayoutif NOT ideqval Setup.Lpe == 0x2;
oneof varid = Setup.LpeAudioReportedByDSDT,
prompt = STRING_TOKEN(STR_LPE_REPORTED_BY_DSDT_PROMPT),
help = STRING_TOKEN(STR_LPE_REPORTED_BY_DSDT_HELP),
option text = STRING_TOKEN(STR_DISABLE), value=0, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
option text = STRING_TOKEN(STR_ENABLE), value=1, flags=RESET_REQUIRED;
endoneof;
endif;
subtitle text = STRING_TOKEN(STR_NULL_STRING);
suppressif ideqval Setup.AzaliaDs == 0x1;
oneof varid = Setup.PchAzalia,

View File

@@ -1,6 +1,6 @@
// /** @file
//
// Copyright (c) 2013 - 2015 Intel Corporation. All rights reserved
// Copyright (c) 2013 - 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
// which accompanies this distribution. The full text of the license may be found at
@@ -453,4 +453,6 @@
#string STR_RTC_BATTERY_NOT_PRESENT #language uqi "\x0182"
#string STR_RTC_BATTERY_PRESENT #language uqi "\x0183"
#string STR_RTC_BATTERY_HELP #language uqi "\x0184"
#string STR_LPE_REPORTED_BY_DSDT_PROMPT #language uqi "\x0185"
#string STR_LPE_REPORTED_BY_DSDT_HELP #language uqi "\x0186"

View File

@@ -1,5 +1,5 @@
// /** @file
// Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
// Copyright (c) 2004 - 2016, 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
// which accompanies this distribution. The full text of the license may be found at
@@ -726,6 +726,9 @@
#string STR_RTC_BATTERY_NOT_PRESENT #language en-US "Not Present"
#string STR_RTC_BATTERY_HELP #language en-US "RTC Battery is Present or Not Present"
#string STR_LPE_REPORTED_BY_DSDT_PROMPT #language en-US "LPE Audio Reported By DSDT"
#string STR_LPE_REPORTED_BY_DSDT_HELP #language en-US "Recommended solution is to keep option disabled and expose LPE Audio device with an EFI application that updates the SSDT"
//
// PCI Express
//