754 lines
23 KiB
Bash
754 lines
23 KiB
Bash
## @file
|
|
# Platform Configuration Switches
|
|
#
|
|
#******************************************************************************
|
|
#* Copyright (c) 2019, Insyde Software Corp. All Rights Reserved.
|
|
#*
|
|
#* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
#* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
#* any part of this publication in any form, by any means, without the prior
|
|
#* written permission of Insyde Software Corporation.
|
|
#*
|
|
#******************************************************************************
|
|
|
|
#
|
|
# [Lenovo China Minimum BIOS Spec 1.28] - Master switch for L05 feature
|
|
# YES - Follow setting for all feature flag
|
|
# NO - Ignore all Feature flag setting and set them as NO
|
|
#
|
|
DEFINE L05_ALL_FEATURE_ENABLE = YES
|
|
|
|
#
|
|
# L05_LOGO_VERSION
|
|
# L05 Logo version switch, start from 001, current version is 002.
|
|
# 001 Resolution: 768x1024, 1024x600, 1366x768, 1600x900, 1920x1080, 1920x1200, 3480x2160
|
|
# 002 Resolution: 800x1280, 1366x768, 1600x900, 1920x1080, 1920x1200, 2160x1440, 3480x2160
|
|
# 003 Resolution: 1024x600, 1280x800, 1366x768, 1600x900, 1920x1080, 1920x1200, 2160x1440, 3200x1800, 3840x2160
|
|
#
|
|
# Notice : 003 resolution only provide default 1920x1200 logo in Package.fdf and LogoResolutionTable.
|
|
# If project want to use other size, need to add logo into Project.fdf and
|
|
# can use OemSvcLogoResolutionTable.c to modify table easily.
|
|
#
|
|
DEFINE L05_LOGO_VERSION = 003
|
|
|
|
# L05_CUSTOMER_BGRT_LOGO_SUPPORT
|
|
# YES - For changing customer BGRT logo
|
|
# Related PCD: PcdL05CustomerBgrtLogoEnable, PcdL05CustomerBgrtLogoGuid, PcdL05CustomerBgrtLogoFormat
|
|
# NO - System will get max resolution by reading EDID and disaply suitable logo automatically
|
|
#
|
|
DEFINE L05_CUSTOMER_BGRT_LOGO_SUPPORT = NO
|
|
|
|
#
|
|
# L05_CUSTOMIZE_MULTI_LOGO_SUPPORT
|
|
# YES - Force to change customize logo by using Insyde Flash Tool (comamnd: -edt4s, -edt4f)
|
|
# Feature will search logo in PcdFlashFvL05CustomizeLogoBase region during every Normal POST
|
|
# Support image format: jpeg, jpg, tga, gif
|
|
# NO - Feature will not search logo in PcdFlashFvL05CustomizeLogoBase region
|
|
#
|
|
DEFINE L05_CUSTOMIZE_MULTI_LOGO_SUPPORT = NO
|
|
|
|
#
|
|
# L05_MEDIA_LOGO_SUPPORT
|
|
# YES - Change default POST logo to GIF Animation
|
|
# Support GIF Animation Logo and set the last present logo into ACPI BGRT Table
|
|
# Feature will force to set configuration switch L05_CUSTOMIZE_MULTI_LOGO_SUPPORT as YES
|
|
# NO - Not Support GIF Animation Logo and set the last present logo into ACPI BGRT Table
|
|
#
|
|
DEFINE L05_MEDIA_LOGO_SUPPORT = NO
|
|
|
|
#
|
|
# [Lenovo BIOS POST Logo DIY Version v2.1]
|
|
# L05_BIOS_POST_LOGO_DIY_SUPPORT
|
|
# YES - Change default POST LOGO by customize logo picture from ESP.
|
|
# BIOS will read logo picture from ESP in BIOS POST, and the display it as BIOS power on logo and report the
|
|
# logo picture to OS by BGRT.
|
|
# Project can use OemSvcCustomizePostLogoSupportFormat.c to modify POST LOGO support format.
|
|
# If User logo picture doesn't meet MS BGRT request, BIOS doesn't report BGRT, and just show BIOS POST logo.
|
|
# NO - Not Support Change default POST logo by customize logo picture from ESP.
|
|
#
|
|
#[-start-210922-Dongxu0021-modify]#
|
|
!if $(LCFC_SUPPORT_ENABLE) == YES
|
|
DEFINE L05_BIOS_POST_LOGO_DIY_SUPPORT = YES
|
|
!else
|
|
DEFINE L05_BIOS_POST_LOGO_DIY_SUPPORT = NO
|
|
!endif
|
|
#[-end-210922-Dongxu0021-modify]#
|
|
|
|
|
|
#
|
|
# L05_ACPI_TABLE_ID_ENABLE
|
|
# YES - Modify OEM ID "LENOVO ", OEM Table ID "CB-01 " and OEM Revision for ACPI Tables by following L05 feature requirement
|
|
# NO - DO NOT modify ACPI Tables
|
|
#
|
|
DEFINE L05_ACPI_TABLE_ID_ENABLE = YES
|
|
|
|
#
|
|
# [3.6.1 Crisis Recovery]
|
|
# YES - Support BIOS CRISIS
|
|
# NO - Unsupport BIOS CRISIS
|
|
#
|
|
DEFINE L05_CRISIS_ENABLE = YES
|
|
|
|
#
|
|
# YES - Support BIOS Crisis Recovery Log
|
|
# NO - Unsupport BIOS Crisis Recovery Log
|
|
#
|
|
DEFINE L05_CRISIS_RECOVERY_LOG_ENABLE = YES
|
|
|
|
#
|
|
# [3.5.3 Passwords reset crisis BIOS]
|
|
# YES - Support Passwords reset crisis BIOS
|
|
# NO - Unsupport Passwords reset crisis BIOS
|
|
#
|
|
DEFINE L05_PASSWORD_RESET_CRISIS_BIOS_ENABLE = NO
|
|
|
|
#
|
|
# [3.5.2 Rules for Hard disk password setting]
|
|
# YES - Support L05 HDD Password
|
|
# NO - Unsupport L05 HDD Password
|
|
#
|
|
DEFINE L05_HDD_PASSWORD_ENABLE = YES
|
|
|
|
#
|
|
# L05_GRAPHIC_UI_ENABLE
|
|
# YES - Support L05 Graphic UI
|
|
# NO - Unsupport L05 Graphic UI
|
|
#
|
|
#[-start-210806-YUNLEI0118-modify]
|
|
#[-start-211028-Ching000015-modify]#
|
|
!if ($(C970_SUPPORT_ENABLE) == YES) OR ($(C770_SUPPORT_ENABLE)==YES) OR ($(S570_SUPPORT_ENABLE)==YES) OR ($(S77014_SUPPORT_ENABLE)==YES) OR ($(S77013_SUPPORT_ENABLE)==YES) OR ($(S77014IAH_SUPPORT_ENABLE) == YES)
|
|
DEFINE L05_GRAPHIC_UI_ENABLE = YES
|
|
!else
|
|
DEFINE L05_GRAPHIC_UI_ENABLE = NO
|
|
!endif
|
|
#[-end-211028-Ching000015-modify]#
|
|
#[-end-210806-YUNLEI0118-modify]
|
|
|
|
#
|
|
# L05_SETUP_MOUSE_ENABLE
|
|
# YES - Support mouse operation in Setup Menu
|
|
# NO - DO NOT support mouse operation in Setup Menu
|
|
#
|
|
DEFINE L05_SETUP_MOUSE_ENABLE = NO
|
|
|
|
#
|
|
# L05_GAMING_UI_ENABLE
|
|
# YES - Support L05 Gaming UI
|
|
# NO - DO NOT support L05 Gaming UI
|
|
#
|
|
DEFINE L05_GAMING_UI_ENABLE = NO
|
|
|
|
#
|
|
# L05_GAMING_OVERCLOCK_UI_ENABLE
|
|
# YES - Support L05 Gaming Overclock UI
|
|
# NO - DO NOT support L05 Gaming Overclock UI
|
|
#
|
|
DEFINE L05_GAMING_OVERCLOCK_UI_ENABLE = NO
|
|
# L05_GAMING_OVERCLOCK_UI_DEBUG_ENABLE
|
|
# YES - Show Gaming Overclock form in Configuration Page
|
|
# NO - DO NOT Show Gaming Overclock form in Configuration Page
|
|
DEFINE L05_GAMING_OVERCLOCK_UI_DEBUG_ENABLE = NO
|
|
|
|
#
|
|
# [Limit Dos Screens Specification Version 1.00]
|
|
# BIOS Update UI
|
|
# YES - Support L05 BIOS Update UI
|
|
# NO - DO NOT support L05 BIOS Update UI
|
|
#
|
|
DEFINE L05_BIOS_UPDATE_UI_ENABLE = YES
|
|
|
|
#
|
|
# [Dual Mode System Specification]
|
|
# L05_ONE_KEY_RECOVERY_ENABLE (OKR)
|
|
# YES - Support One Key Recovery
|
|
# NO - Unsupport One Key Recovery
|
|
#
|
|
DEFINE L05_ONE_KEY_RECOVERY_ENABLE = YES
|
|
|
|
#
|
|
#
|
|
# L05_PUSH_BUTTON_RESET_ENABLE (PBR)
|
|
# YES - Support Push Button Reset
|
|
# NO - Unsupport Push Button Reset
|
|
#
|
|
#[-start-210617-Dongxu0002-modify]#
|
|
!if $(LCFC_SUPPORT_ENABLE) == YES
|
|
DEFINE L05_PUSH_BUTTON_RESET_ENABLE = YES
|
|
!else
|
|
DEFINE L05_PUSH_BUTTON_RESET_ENABLE = NO
|
|
!endif
|
|
#[-end-210617-Dongxu0002-modify]#
|
|
|
|
#
|
|
# [Computrace implement requirement v1.2]
|
|
# YES - Support Computrace Function
|
|
# NO - Unsupport Computrace Function
|
|
#
|
|
DEFINE L05_COMPUTRACE_ENABLE = NO
|
|
|
|
#
|
|
# [L05 Specific variable]
|
|
# YES - Support L05 Specific Variable Service function
|
|
# NO - Support L05 Variable Service function
|
|
#
|
|
DEFINE L05_SPECIFIC_VARIABLE_SERVICE_ENABLE = NO
|
|
|
|
#
|
|
# [L05 TPM Reporting]
|
|
# YES - Support L05 TPM Reporting Feature
|
|
# NO - Unsupport L05 TPM Reporting Feature
|
|
#
|
|
DEFINE L05_TPM_REPORTING_ENABLE = NO
|
|
|
|
#
|
|
# [Show RAID Option] - Optional, default MUST as NO
|
|
# YES - Show RAID Option under "SATA Controller Mode" item in [Configuration] Page on Setup Menu
|
|
# NO - DO NOT show RAID Option
|
|
#
|
|
DEFINE L05_SHOW_RAID_OPTION_ENABLE = NO
|
|
|
|
#
|
|
# [Lenovo BIOS Optane Support Version 1.4] - Optional, default MUST as NO
|
|
# YES - Support Lenovo BIOS Optane Feature
|
|
# NO - Unsupport Lenovo BIOS Optane Feature
|
|
#
|
|
DEFINE L05_BIOS_OPTANE_SUPPORT_ENABLE = NO
|
|
|
|
#
|
|
# [Lenovo Project Ship Support], default MUST as NO
|
|
# (ODM request) After project ship support, keep all Setup item settings (all variable)
|
|
# which defined in Setup UI while BIOS update.
|
|
# YES - Support Lenovo Project Ship Support
|
|
# NO - Unsupport Lenovo Project Ship Support
|
|
#
|
|
DEFINE L05_PROJECT_SHIP_SUPPORT_ENABLE = NO
|
|
|
|
#
|
|
# [Feature Report Function] - It will increase POST time and code size, Default MUST as NO
|
|
# YES - Dump Feature Report message into USB or HDD storage under folder path: "\\EFI\\Insyde\\"
|
|
# 1. For checking Feature code status after every Kernel/Chipset update if need
|
|
# 2. For Project dump Feature status with their Project board if need
|
|
# NO - DO NOT support Feature Report Function
|
|
#
|
|
DEFINE OK_FEATURE_REPORT_ENABLE = NO
|
|
|
|
#
|
|
# [IdeaPad BIOS setup WMI - Setup Under OS], default MUST as NO
|
|
# L05_SETUP_UNDER_OS_SUPPORT
|
|
# YES - Support Setup Under OS
|
|
# System can use script via WMI to setting setup item under OS
|
|
# NO - Unsupport Setup Under OS
|
|
#
|
|
DEFINE L05_SETUP_UNDER_OS_SUPPORT = NO
|
|
|
|
#
|
|
# [BIOS and Tool Requirements for Modern Preload Support Version 1.10]
|
|
# YES - Support Modern Preload Function
|
|
# NO - Unsupport Modern Preload Function
|
|
#
|
|
#[-start-210618-YUNLEI0103-modify]
|
|
!if $(LCFC_SUPPORT_ENABLE) == YES
|
|
DEFINE L05_MODERN_PRELOAD_SUPPORT = YES
|
|
!else
|
|
DEFINE L05_MODERN_PRELOAD_SUPPORT = NO
|
|
!endif
|
|
#[-end-210618-YUNLEI0103-modify]
|
|
|
|
#
|
|
# [RTK USB LAN Driver Support]
|
|
# YES - Add L05 RTK USB LAN Driver into BIOS
|
|
# NO - Not add L05 RTK USB LAN Driver into BIOS
|
|
#
|
|
#[-start-210624-KEBIN00021-modify]
|
|
!if $(LCFC_SUPPORT_ENABLE) == YES
|
|
DEFINE L05_RTK_USB_LAN_DRIVER_SUPPORT = YES
|
|
!else
|
|
DEFINE L05_RTK_USB_LAN_DRIVER_SUPPORT = NO
|
|
!endif
|
|
#[-end-210624-KEBIN00021-modify]
|
|
|
|
#//[-start-211217-JEPLIUT206-add]//
|
|
!if ($(S570_SUPPORT_ENABLE) == YES)
|
|
DEFINE AX88179_USB_LAN_DRIVER_SUPPORT = YES
|
|
!endif
|
|
#//[-end-211217-JEPLIUT206-add]//
|
|
|
|
|
|
#
|
|
# [Legacy Support] - Project dependency for legacy support, default is NO.
|
|
# If project support Legacy Boot, please set L05_LEGACY_SUPPORT to YES.
|
|
# YES - Support Legacy Boot
|
|
# NO - Unsupport Legacy Boot
|
|
#
|
|
DEFINE L05_LEGACY_SUPPORT = NO
|
|
|
|
#
|
|
# [Lenovo Secure Suite - Wipe Storage Device v1.4]
|
|
# L05_SECURE_SUITE_SUPPORT
|
|
# YES - Support Secure Suite APP (Wipe Storage Device) Feature
|
|
# NO - Unsupport Secure Suite APP (Wipe Storage Device) Feature
|
|
#
|
|
DEFINE L05_SECURE_SUITE_SUPPORT = NO
|
|
DEFINE L05_SECURE_SUITE_VERSION = 1.14
|
|
|
|
#
|
|
# [Interface for invoking Diagnostics UEFI Embedded Specification v0.1]
|
|
# L05_DIAGNOSTICS_SUPPORT
|
|
# YES - Support Diagnostics UEFI Embedded Feature
|
|
# NO - Unsupport Diagnostics UEFI Embedded Feature
|
|
#
|
|
#[-start-211122-BAIN000060-modify]#
|
|
!if ($(LCFC_SUPPORT_ENABLE) == YES)
|
|
DEFINE L05_DIAGNOSTICS_SUPPORT = YES
|
|
!else
|
|
DEFINE L05_DIAGNOSTICS_SUPPORT = NO
|
|
!endif
|
|
#[-end-211122-BAIN000060-modify]#
|
|
DEFINE L05_DIAGS_EMBEDDED_VERSION = 04.22.000
|
|
|
|
#
|
|
# [One Key Battery Function Spec V2.3]
|
|
# YES - Support One Key Battery Function
|
|
# NO - Unsupport One Key Battery Function
|
|
#
|
|
#[-start-211011-TAMT000024-add]#
|
|
#[-start-211102-DABING0017-remove]#
|
|
#!if ($(S77013_SUPPORT_ENABLE) == YES) OR ($(S77014_SUPPORT_ENABLE)==YES)
|
|
# DEFINE L05_ONE_KEY_BATTERY_ENABLE = NO
|
|
#!else
|
|
DEFINE L05_ONE_KEY_BATTERY_ENABLE = YES
|
|
#!endif
|
|
#[-end-211102-DABING0017-remove]#
|
|
#[-end-211011-TAMT000024-add]#
|
|
#
|
|
# [Lenovo BIOS Self-Healing Design Guidance Specification v2.2]
|
|
# YES - Support BIOS Self-Healing Feature
|
|
# NO - Unsupport BIOS Self-Healing Feature
|
|
#
|
|
#[-start-211014-BAIN000051-modify]#
|
|
#!if ($(C970_SUPPORT_ENABLE) == YES)
|
|
#[-start-21119-TAMT000032-modify]#
|
|
#[-start-211203-QINGLIN0125-modify]#
|
|
#[-start-211206-OWENWU0029-modify]//#
|
|
#[-start-211214-Ching000017-modify]#
|
|
!if ($(C970_SUPPORT_ENABLE) == YES) OR ($(C770_SUPPORT_ENABLE)==YES) OR ($(S77014_SUPPORT_ENABLE)) OR ($(S370_SUPPORT_ENABLE)) OR ($(S570_SUPPORT_ENABLE)) OR ($(S77013_SUPPORT_ENABLE)) OR ($(S77014IAH_SUPPORT_ENABLE) == YES)
|
|
DEFINE L05_BIOS_SELF_HEALING_SUPPORT = YES
|
|
!else
|
|
DEFINE L05_BIOS_SELF_HEALING_SUPPORT = NO
|
|
!endif
|
|
#[-end-211214-Ching000017-modify]#
|
|
#[-end-211206-OWENWU0029-modify]//#
|
|
#[-end-211203-QINGLIN0125-modify]#
|
|
#[-end-21119-TAMT000032-modify]#
|
|
#[-end-211014-BAIN000051-modify]#
|
|
#[-start-211201-BAIN000063-modify]#
|
|
DEFINE L05_BIOS_SELF_HEALING_TEST_ON_CRB = NO # Please keep "NO" as the default. It is for internal testing only. (not supported on ADL)
|
|
#[-end-211201-BAIN000063-modify]#
|
|
|
|
#
|
|
# [Lenovo Notebook Password Design Spec v1.0]
|
|
# YES - Support Notebook Password Function
|
|
# NO - Unsupport Notebook Password Function
|
|
#
|
|
DEFINE L05_NOTEBOOK_PASSWORD_ENABLE = NO
|
|
|
|
#
|
|
# [Lenovo Notebook Password Design Spec v1.1]
|
|
# YES - Support Notebook Password Function
|
|
# NO - Unsupport Notebook Password Function
|
|
#
|
|
DEFINE L05_NOTEBOOK_PASSWORD_V1_1_ENABLE = YES
|
|
|
|
#
|
|
# [Lenovo BIOS Setup Design Guide V2.9]
|
|
# YES - Support Security Erase Function
|
|
# NO - Unsupport Security Erase Function
|
|
#
|
|
DEFINE L05_SECURITY_ERASE_ENABLE = YES
|
|
|
|
#
|
|
# [Natural File Guard Design Guide v1.01]
|
|
# YES - Support Natural File Guard Function
|
|
# Feature will force to set configuration switch L05_NOTEBOOK_PASSWORD_ENABLE as YES
|
|
# NO - Unsupport Natural File Guard Function
|
|
#
|
|
DEFINE L05_NATURAL_FILE_GUARD_ENABLE = YES
|
|
!if ($(C970_SUPPORT_ENABLE) == YES) OR ($(C770_SUPPORT_ENABLE)==YES) OR ($(S370_SUPPORT_ENABLE)==YES) OR ($(S570_SUPPORT_ENABLE)==YES) OR ($(S77013_SUPPORT_ENABLE)==YES) OR ($(S77014_SUPPORT_ENABLE)==YES) OR ($(S77014IAH_SUPPORT_ENABLE) == YES)
|
|
DEFINE L05_NATURAL_FILE_GUARD_TEST_ON_CRB = YES # Please keep "NO" as the default. It is for internal testing only.
|
|
!else
|
|
DEFINE L05_NATURAL_FILE_GUARD_TEST_ON_CRB = NO
|
|
!endif
|
|
#[-end-210906-TAMT000006-modify]#
|
|
|
|
#
|
|
# [Lenovo SMB BIOS Special Requirements V1.1]
|
|
# YES - Support Lenovo SMB BIOS Function
|
|
# NO - Unsupport Lenovo SMB BIOS Function
|
|
#
|
|
DEFINE L05_SMB_BIOS_ENABLE = NO
|
|
|
|
#
|
|
# [Lenovo Dock BIOS Writer's Guide (BWG) V0.3]
|
|
# MAC Address Pass Through
|
|
# YES - Support MAC Address Pass Through
|
|
# NO - Unsupport MAC Address Pass Through
|
|
#
|
|
DEFINE L05_MAC_ADDRESS_PASS_THROUGH_ENABLE = NO
|
|
|
|
#
|
|
# [Crisis Recovery Progress Bar Display]
|
|
# YES - Support PEI Crisis Recovery Progress Bar
|
|
# NO - Unsupport PEI Crisis Recovery Progress Bar
|
|
#
|
|
DEFINE L05_CRISIS_RECOVERY_PROGRESS_BAR_ENABLE = NO
|
|
|
|
#
|
|
# [Secure Boot for MFG Mode]
|
|
# YES - Support Secure Boot for MFG Mode
|
|
# 1. Restore factory default keys to variable store during build time.
|
|
# 2. All New BIOS, Secure Boot is Disable.
|
|
# 3. When MFG flag is setted, Secure Boot is Disable.
|
|
# NO - Unsupport Secure Boot for MFG Mode
|
|
#
|
|
#[-start-211026-QINGLIN0105-modify]#
|
|
!if $(LCFC_SUPPORT_ENABLE) == YES
|
|
DEFINE L05_MFG_MODE_SECURE_BOOT_ENABLE = YES
|
|
!else
|
|
DEFINE L05_MFG_MODE_SECURE_BOOT_ENABLE = NO
|
|
!endif
|
|
#[-end-211026-QINGLIN0105-modify]#
|
|
DEFINE L05_MFG_MODE_SECURE_BOOT_TEST_ON_CRB = NO
|
|
|
|
#
|
|
# [Lenovo Notebook Cloud Boot BIOS Spec v1.0]
|
|
# YES - Support Lenovo Notebook Cloud Boot Feature
|
|
# NO - Unsupport Lenovo Notebook Cloud Boot Feature
|
|
#
|
|
# Notice : If "L05_NOTEBOOK_CLOUD_BOOT_ENABLE" is set to "YES", please follow kernel rule Insyde\InsydeNetworkPkg\README.txt
|
|
# TlsDxe with OPENSSL integrate guide, download OPENSSL library source code package to integrate TlsDxe with OPENSSL library.
|
|
#
|
|
DEFINE L05_NOTEBOOK_CLOUD_BOOT_ENABLE = NO
|
|
DEFINE L05_NOTEBOOK_CLOUD_BOOT_WIFI_ENABLE = NO
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_WIRELESS_DEVICE_SUPPORT_
|
|
# _End_L05_WIRELESS_DEVICE_SUPPORT_
|
|
#
|
|
# Description:
|
|
# Wireless Device Support function which on PCI or USB interface with supported Wireless Device as follow,
|
|
# 1. Set Read only runtime variable
|
|
# 2. Add SMBIOS Type 133 (0x85)
|
|
# 3. Add SMBIOS Type 248 (0xF8)
|
|
# Need porting OemSvcGetWirelessDeviceSupportTable() from Project for item 1, 2
|
|
# Need porting OemSvcGetWirelessDeviceInfoForSmbiosType248() from Project for item 3
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_SMBIOS_
|
|
# _End_L05_SMBIOS_
|
|
#
|
|
# Description:
|
|
# Support override SMBIOS data to follow L05 specification
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_CONFIGURATION_VARIABLE_
|
|
# _End_L05_CONFIGURATION_VARIABLE_
|
|
#
|
|
# Description:
|
|
# Reserve 64 bits variable for new features requested or future other purpose
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_DRIVE_IDENTIFICATION_
|
|
# _End_L05_DRIVE_IDENTIFICATION_
|
|
#
|
|
# Description:
|
|
# Support L05 Drive Identification function
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_VARIABLE_RUNTIME_PROTECTION_
|
|
# _End_L05_VARIABLE_RUNTIME_PROTECTION_
|
|
#
|
|
# Description:
|
|
# Lock Set Variable Service only for variable L"Setup" in Runtime
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_SLP_STRING_
|
|
# _End_L05_SLP_STRING_
|
|
#
|
|
# Description:
|
|
# To support legacy manufacturing tools, Store L05 SLP String "LEGEND Dragon" in the E000:0000 to F000:FFF0 address range
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_ACPI_SLP_20_
|
|
# _End_L05_ACPI_SLP_20_
|
|
#
|
|
# Description:
|
|
# Get SLP 2.0 Pubkey and Maker Key by following L05 featue requirement
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_ACPI_HARDWARE_SIGNATURE_
|
|
# _End_L05_ACPI_HARDWARE_SIGNATURE_
|
|
#
|
|
# Description:
|
|
# Compute the hardware signature when saved changes and exit setup menu.
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_LEGACY_TO_UEFI_
|
|
# _End_L05_LEGACY_TO_UEFI_
|
|
#
|
|
# Description:
|
|
# Support Legacy to EFI function
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_HOTKEY_
|
|
# _End_L05_HOTKEY_
|
|
#
|
|
# Description:
|
|
# Support F2, F12 Hot key
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_VARIABLE_SERVICE_
|
|
# _End__L05_VARIABLE_SERVICE_
|
|
#
|
|
# Description:
|
|
# Support L05 Variable Service function
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_LOGO_
|
|
# _End__L05_LOGO_
|
|
#
|
|
# Description:
|
|
# Show L05 logo during POST
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_EEPROM_REGION_
|
|
# _End_L05_EEPROM_REGION_
|
|
#
|
|
# Description:
|
|
# Add L05 EEPROM region in FlashMap
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_BIOS_FLASH_UPDATE_
|
|
# _End_L05_BIOS_FLASH_UPDATE_
|
|
#
|
|
# Description:
|
|
# Support L05 BIOS update
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_CHANGE_SYSTEM_PASSWORD_STORE_
|
|
# _End_L05_CHANGE_SYSTEM_PASSWORD_STORE_
|
|
#
|
|
# Description:
|
|
# Support create new region for supervisor and user password
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_NOVO_BUTTON_MENU_
|
|
# _End_L05_NOVO_BUTTON_MENU_
|
|
#
|
|
# Description:
|
|
# Support L05 Novo button menu
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_SETUP_MENU_
|
|
# _End_L05_SETUP_MENU_
|
|
#
|
|
# Description:
|
|
# Support L05 Setup Menu
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_SETUP_MENU_NEST_EXPRESSION_
|
|
# _End_L05_SETUP_MENU_NEST_EXPRESSION_
|
|
#
|
|
# Description:
|
|
# VFR support nest for expression opcode (suppressif/grayoutif/diableif).
|
|
# Add solition form EDK2 core code "https://svn.code.sf.net/p/edk2/code/trunk/edk2 -r 12972"
|
|
# Enable nest for suppressif/grayoutif/diableif for form/question/option.
|
|
# Signed-off-by: ydong10
|
|
# Reviewed-by: lgao4
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_TPM_
|
|
# _End_L05_TPM_
|
|
#
|
|
# Description:
|
|
# Support manufacture line TPM test, Lenovo recommend to use manufacture done flag
|
|
# to control BIOS prompt for clear TPM operation.
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_HDD_SPIN_DOWN_
|
|
# _End_L05_HDD_SPIN_DOWN_
|
|
#
|
|
# Description:
|
|
# Support L05 HDD spin down function.
|
|
#
|
|
|
|
|
|
#
|
|
# Keywords:
|
|
# _Start_L05_DUAL_MODE_PXE_
|
|
# _End_L05_DUAL_MODE_PXE_
|
|
#
|
|
# Description:
|
|
# Support both legacy PXE ROM and UEFI PXE driver in dual mode.
|
|
#
|
|
|
|
#================================================================================
|
|
# L05 Kernel/Chipset Setting Start (DO NOT EDIT)
|
|
#================================================================================
|
|
DEFINE EFI_SHELL_SUPPORT = NO
|
|
|
|
#_Start_L05_SETUP_MENU_
|
|
DEFINE FRONTPAGE_SUPPORT = NO
|
|
DEFINE SYS_PASSWORD_IN_CMOS = NO
|
|
DEFINE SUPPORT_USER_PASSWORD = YES
|
|
#_End_L05_SETUP_MENU_
|
|
|
|
!if $(L05_CRISIS_ENABLE) == YES
|
|
DEFINE CRISIS_RECOVERY_SUPPORT = YES
|
|
DEFINE USE_FAST_CRISIS_RECOVERY = NO
|
|
!endif
|
|
|
|
!if $(L05_BIOS_SELF_HEALING_SUPPORT) == YES
|
|
DEFINE CRISIS_RECOVERY_SUPPORT = YES
|
|
DEFINE USE_FAST_CRISIS_RECOVERY = YES
|
|
!endif
|
|
|
|
!if $(L05_MEDIA_LOGO_SUPPORT) == YES
|
|
DEFINE L05_CUSTOMIZE_MULTI_LOGO_SUPPORT = YES
|
|
!endif
|
|
|
|
!if $(L05_BIOS_SELF_HEALING_SUPPORT) == YES
|
|
DEFINE L05_CRISIS_ENABLE = YES
|
|
!endif
|
|
|
|
!if $(L05_NATURAL_FILE_GUARD_ENABLE) == YES
|
|
DEFINE L05_HDD_PASSWORD_ENABLE = YES
|
|
DEFINE L05_NOTEBOOK_PASSWORD_ENABLE = YES
|
|
!endif
|
|
|
|
!if $(L05_NOTEBOOK_PASSWORD_V1_1_ENABLE) == YES
|
|
DEFINE L05_HDD_PASSWORD_ENABLE = YES
|
|
DEFINE L05_NOTEBOOK_PASSWORD_ENABLE = YES
|
|
!endif
|
|
|
|
!if $(L05_NOTEBOOK_PASSWORD_V1_1_ENABLE) == NO
|
|
DEFINE L05_SECURITY_ERASE_ENABLE = NO
|
|
!endif
|
|
|
|
!if $(L05_SMB_BIOS_ENABLE) == YES
|
|
#
|
|
# [Lenovo SMB BIOS Special Requirements V1.1]
|
|
# 2.2 Hotkey Definition
|
|
# Enter Diagnostical - F10
|
|
# 2.10 HW Diagnostic
|
|
#
|
|
DEFINE L05_DIAGNOSTICS_SUPPORT = YES
|
|
#
|
|
# [Lenovo SMB BIOS Special Requirements V1.1]
|
|
# 2.3 BIOS Setup Design
|
|
# GUI BIOS Setup
|
|
#
|
|
DEFINE L05_GRAPHIC_UI_ENABLE = YES
|
|
#
|
|
# [Lenovo SMB BIOS Special Requirements V1.1]
|
|
# 2.7 Wake On LAN (WOL)
|
|
# 2.11 Dock Support
|
|
#
|
|
# [Lenovo Dock BIOS Writer's Guide (BWG) V0.3]
|
|
# 2 MAC Address Pass Through
|
|
#
|
|
DEFINE L05_MAC_ADDRESS_PASS_THROUGH_ENABLE = YES
|
|
#
|
|
# [Lenovo SMB BIOS Special Requirements V1.1]
|
|
# 2.4 Lenovo Secure Wipe
|
|
#
|
|
DEFINE L05_SECURE_SUITE_SUPPORT = YES
|
|
#
|
|
# [Lenovo SMB BIOS Special Requirements V1.1]
|
|
# 2.5 Logo DIY
|
|
#
|
|
DEFINE L05_BIOS_POST_LOGO_DIY_SUPPORT = YES
|
|
#
|
|
# [Lenovo SMB BIOS Special Requirements V1.1]
|
|
# 2.8 Computrace
|
|
#
|
|
DEFINE L05_COMPUTRACE_ENABLE = YES
|
|
!else
|
|
DEFINE L05_MAC_ADDRESS_PASS_THROUGH_ENABLE = NO
|
|
!endif
|
|
|
|
!if $(L05_GAMING_OVERCLOCK_UI_ENABLE) == YES
|
|
DEFINE L05_GAMING_UI_ENABLE = YES
|
|
DEFINE OVERCLOCK_ENABLE = YES
|
|
!endif
|
|
|
|
!if $(L05_GAMING_UI_ENABLE) == YES
|
|
DEFINE L05_GRAPHIC_UI_ENABLE = YES
|
|
!endif
|
|
|
|
!if $(L05_GRAPHIC_UI_ENABLE) == YES
|
|
DEFINE L05_SETUP_MOUSE_ENABLE = YES
|
|
!endif
|
|
|
|
#================================================================================
|
|
# L05 Kernel/Chipset Setting End (DO NOT EDIT)
|
|
#================================================================================
|