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,