From 9a857a4343040f9386dc77de6851697e7ec57264 Mon Sep 17 00:00:00 2001 From: Guo Mang Date: Fri, 23 Dec 2016 14:32:15 +0800 Subject: BroxtonPlatformPkg: Add PlatformSetupDxe Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang --- .../PlatformSetupDxe/AcpiSetup.vfi | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/AcpiSetup.vfi (limited to 'Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/AcpiSetup.vfi') diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/AcpiSetup.vfi b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/AcpiSetup.vfi new file mode 100644 index 0000000000..6d918be3a6 --- /dev/null +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/AcpiSetup.vfi @@ -0,0 +1,92 @@ +// /** @file +// ACPI Setup formset. +// +// Copyright (c) 2015 - 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 +// http://opensource.org/licenses/bsd-license.php. +// +// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +// +// **/ + + +form formid = ACPI_SETUP_FORM_ID, + title = STRING_TOKEN(STR_ACPI_SETUP_TITLE); + + suppressif ideqval SETUP_DATA.PcieRootPortEn[OFFSET_0] == 0x0; + oneof varid = SETUP_DATA.PciExpNative, + prompt = STRING_TOKEN(STR_ACPI_PCIE_NATIVE_PROMPT), + help = STRING_TOKEN(STR_ACPI_PCIE_NATIVE_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED; + endoneof; + endif; // suppressif + + suppressif ideqval SETUP_DATA.PciExpNative == 0x0; + oneof varid = SETUP_DATA.NativeAspmEnable, + prompt = STRING_TOKEN(STR_NATIVE_ASPM_PROMPT), + help = STRING_TOKEN(STR_NATIVE_ASPM_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = MANUFACTURING | RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | RESET_REQUIRED; + endoneof; + endif; // suppressif + + oneof varid = SETUP_DATA.IrmtConfiguration, + prompt = STRING_TOKEN(STR_IRMT), + help = STRING_TOKEN(STR_IRMT_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED; + endoneof; + + oneof varid = Setup.LowPowerS0Idle, + prompt = STRING_TOKEN(STR_LOW_POWER_S0_IDLE), + help = STRING_TOKEN(STR_LOW_POWER_S0_IDLE_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; + + suppressif NOT ideqval SETUP_DATA.LowPowerS0Idle == 1; + oneof varid = SETUP_DATA.TenSecondPowerButtonEnable, + prompt = STRING_TOKEN(STR_10SEC_POWER_BUTTON_ENABLE), + help = STRING_TOKEN(STR_10SEC_POWER_BUTTON_ENABLE_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED; + endoneof; + + oneof varid = SETUP_DATA.PciDelayOptimizationEcr, + prompt = STRING_TOKEN(STR_PCI_DELAY_OPTIMIZATION_ECR), + help = STRING_TOKEN(STR_PCI_DELAY_OPTIMIZATION_ECR_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED; + endoneof; + endif; // suppressif + + oneof varid = SETUP_DATA.CSNotifyEC, + prompt = STRING_TOKEN(STR_NOTIFY_EC), + help = STRING_TOKEN(STR_NOTIFY_EC_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED; + endoneof; + + suppressif NOT ideqval SETUP_DATA.CSNotifyEC == 1; + oneof varid = SETUP_DATA.CSDebugLightEC, + prompt = STRING_TOKEN(STR_DEBUG_LT_EC), + help = STRING_TOKEN(STR_DEBUG_LT_EC_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED; + endoneof; + + oneof varid = SETUP_DATA.EcLowPowerMode, + prompt = STRING_TOKEN(STR_EC_LOWPOWER_MODE), + help = STRING_TOKEN(STR_EC_LOWPOWER_MODE_HELP), + option text = STRING_TOKEN(STR_DISABLED), value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED; + option text = STRING_TOKEN(STR_ENABLED), value = 1, flags = RESET_REQUIRED; + endoneof; + endif; // suppressif + +endform; // ACPI_SETUP_FORM_ID + -- cgit v1.2.3