173 lines
7.2 KiB
Bash
173 lines
7.2 KiB
Bash
## @file
|
|
# Platform Configuration Switches
|
|
#
|
|
#******************************************************************************
|
|
#* Copyright (c) 2014 - 2021, 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.
|
|
#*
|
|
#******************************************************************************
|
|
|
|
[Defines]
|
|
|
|
##########################################################################################################
|
|
############### S770-14 Project Switch Start ###############
|
|
##########################################################################################################
|
|
EDK_GLOBAL EC_ROM_VERSION = JHEC26WW.bin
|
|
EDK_GLOBAL LCFC_SUPPORT_ENABLE = YES
|
|
EDK_GLOBAL S77014_SUPPORT_ENABLE = YES
|
|
EDK_GLOBAL LCFC_GOLDEN_BIOS_ENABLE = YES
|
|
EDK_GLOBAL LCFC_MOCCA_KEY_SUPPORT_ON = NO
|
|
EDK_GLOBAL LCFC_FLASH_EC_SUPPORT_ON = YES
|
|
|
|
##########################################################################################################
|
|
############### S770-14 Project Switch end ###############
|
|
##########################################################################################################
|
|
|
|
DEFINE FIRMWARE_PERFORMANCE = NO
|
|
DEFINE H2O_PORT_80_DEBUG = YES
|
|
DEFINE EFI_PORT_80_DEBUG = NO
|
|
DEFINE INSYDE_DEBUGGER = NO
|
|
DEFINE EFI_DEBUG = NO
|
|
DEFINE USB_DEBUG_SUPPORT = NO
|
|
DEFINE EC_SHARED_FLASH_SUPPORT = NO
|
|
DEFINE CRISIS_RECOVERY_SUPPORT = YES
|
|
DEFINE USE_FAST_CRISIS_RECOVERY = YES
|
|
DEFINE SYS_PASSWORD_IN_CMOS = YES
|
|
DEFINE SUPPORT_USER_PASSWORD = NO
|
|
DEFINE TEXT_MODE_FULL_SCREEN_SUPPORT = NO
|
|
DEFINE SMM_INT10_ENABLE = NO
|
|
DEFINE MULTI_SUPER_IO_SUPPORT = NO
|
|
DEFINE MULTI_CONFIG_SUPPORT = NO
|
|
DEFINE DYNAMIC_HOTKEY_SUPPORT = NO
|
|
#[-start-210513-KEBIN00001-modify]#
|
|
#[-start-20210705-CISSIE0651-add]
|
|
DEFINE MBV_LCFC_UUID = YES
|
|
#[-end-20210705-CISSIE0651-add]
|
|
#
|
|
# Warning!!!
|
|
# Intel CRB H8 EC Support. OEM engineer should turn this off when you prepare the power on code base.
|
|
#
|
|
# DEFINE USE_INTEL_CRB_H8_EC = YES
|
|
DEFINE USE_INTEL_CRB_H8_EC = NO
|
|
#[-end-210513-KEBIN00001-modify]#
|
|
DEFINE ENABLE_ASL_ECON = YES
|
|
DEFINE EC_IDLE_PER_WRITE_BLOCK = NO
|
|
DEFINE FRONTPAGE_SUPPORT = YES
|
|
DEFINE BACKUP_SECURE_BOOT_SETTINGS_SUPPORT = NO
|
|
DEFINE SUPPORT_64BITS_AML = YES
|
|
DEFINE Q2LSERVICE_SUPPORT = NO
|
|
DEFINE TXT_SUPPORT = NO
|
|
DEFINE MEMORY_SPD_PROTECTION = NO
|
|
#[-start-210830-GEORGE0001-modify]#
|
|
DEFINE HYBRID_GRAPHICS_SUPPORT = YES
|
|
DEFINE NVIDIA_OPTIMUS_SUPPORT = YES
|
|
#[-end-210830-GEORGE0001-modify]#
|
|
DEFINE AMD_POWERXPRESS_SUPPORT = NO
|
|
DEFINE HG_ASLCODE_FOR_WPT_LYNXPOINTLP = YES # SET NO When your platform need HG and use LynxPh
|
|
DEFINE SECURE_FLASH_SUPPORT = YES
|
|
DEFINE UNSIGNED_FV_SUPPORT = NO
|
|
DEFINE UEFI_PAUSE_KEY_FUNCTION_SUPPORT = NO
|
|
DEFINE AMT_ENABLE = NO
|
|
DEFINE SNAPSCREEN_SUPPORT = NO
|
|
|
|
#
|
|
# If you use PCH UART2 and run com port DDT
|
|
# Please folllow below steps to modify code:
|
|
# 1. Change H2O_DDT_DEBUG_IO = Com
|
|
# 2. Change DEBUG_USE_PCH_COMPORT = YES
|
|
# 3. Please make sure ComDebugIoDxe\ComDebugIoDxe.efi is come from AlderLakeChipsetPkg\Override\InsydeModulePkg\H2ODebug
|
|
# 4. Modify the setting in AlderLakeChipsetPkg\Override\InsydeModulePkg\H2ODebug\DebugConfig.exe (Com port Type: MMIO8, Address: FE03E000)
|
|
#
|
|
DEFINE H2O_DDT_DEBUG_IO = Xhc
|
|
DEFINE DEBUG_USE_PCH_COMPORT = NO # SET YES When your platform use PCH UARTx to send message or DDT
|
|
|
|
#
|
|
# This complier switch is used for 1-chip platform if ULT_SUPPORT is set to YES.
|
|
# Note: This switch has not been testable when it is set to "YES" at current code base (Tag 08).
|
|
#
|
|
#
|
|
# Set "BOOT GUARD SUPPORT" to YES to enable BOOT GUARD BIOS related code
|
|
# Set "BOOT GUARD SUPPORT" to NO to disable BOOT GUARD BIOS related code
|
|
#
|
|
DEFINE BOOT_GUARD_SUPPORT = YES
|
|
DEFINE BOOTGUARD_FEATURE_ENABLE = $(BOOT_GUARD_SUPPORT)
|
|
|
|
#
|
|
# Intel BIOS Guard Technology
|
|
#
|
|
# Note: SecurityFlash1.00.44.01 modify sign BIOS Guard (PFAT) image method,
|
|
# When "BIOS_GUARD_SUPPORT" set YES, please set "SECURE_FLASH_SUPPORT" as YES too.
|
|
# More sign Bios guard image details, please refer to SecurityFlash Tool ReleaseNotes.txt.
|
|
#
|
|
#[-start-210513-KEBIN00001-modify]#
|
|
# DEFINE BIOS_GUARD_SUPPORT = YES
|
|
DEFINE BIOS_GUARD_SUPPORT = NO
|
|
#[-end-210513-KEBIN00001-modify]#
|
|
DEFINE PTT_SUPPORT = YES
|
|
DEFINE OVERCLOCK_ENABLE = NO
|
|
DEFINE SOFTWARE_GUARD_ENABLE = YES
|
|
|
|
#
|
|
# When PRODUCTION_SIGNED_ACM is set to "YES", production-signed ACMs(BIOS Guard, Boot Guard and Intel TXT) will be used.
|
|
# It will be applied on production processors and chipsets.
|
|
#
|
|
DEFINE PRODUCTION_SIGNED_ACM = YES
|
|
DEFINE USE_H2O_IDE_GPIO_EDITOR = NO
|
|
|
|
#
|
|
# Project parameter for GenBvdt tool
|
|
#
|
|
# DEFINE GEN_BVDT_PROJECT_PARAMETER = -p $(WORKSPACE)/$(PROJECT_REL_PATH)/$(PROJECT_PKG)/ProjectProtectAreas.txt
|
|
DEFINE GEN_BVDT_PROJECT_PARAMETER =
|
|
|
|
#
|
|
# FSP
|
|
#
|
|
DEFINE FSP_WRAPPER_SUPPORT = YES
|
|
|
|
#
|
|
# GOP
|
|
#
|
|
DEFINE VIDEO_UEFI_DRIVER_VERSION = 21.0.1046
|
|
|
|
#
|
|
# Integrated Lan PXE ROM
|
|
#
|
|
DEFINE LAN_UEFI_DRIVER_VERSION = 26.2
|
|
|
|
#
|
|
# BIOS Guard ACM
|
|
#
|
|
DEFINE BIOS_GUARD_ACM_VERSION = 2.0.5021 #PV
|
|
|
|
#
|
|
# Power On
|
|
#
|
|
DEFINE POWER_ON_FLAG = NO
|
|
|
|
|
|
#[-start-210608-KEBIN00010-add]#
|
|
DEFINE LCFC_CC_FLAGS =
|
|
|
|
!if $(LCFC_SUPPORT_ENABLE) == YES
|
|
DEFINE LCFC_CC_FLAGS = $(LCFC_CC_FLAGS) /D LCFC_SUPPORT
|
|
!endif
|
|
|
|
!if $(S77014_SUPPORT_ENABLE) == YES
|
|
DEFINE LCFC_CC_FLAGS = $(LCFC_CC_FLAGS) /D S77014_SUPPORT
|
|
!endif
|
|
#[-end-210608-KEBIN00010-add]#
|
|
#[-start-21119-TAMT000032-add]#
|
|
!if $(L05_BIOS_SELF_HEALING_SUPPORT) == YES
|
|
DEFINE LCFC_CC_FLAGS = $(LCFC_CC_FLAGS) /D S77014_BSH_SUPPORT
|
|
!endif
|
|
#[-end-21119-TAMT000032-add]#
|
|
#[-start-220112-Ching000027-add]#
|
|
!if $(LCFC_GOLDEN_BIOS_ENABLE) == YES
|
|
DEFINE LCFC_CC_FLAGS = $(LCFC_CC_FLAGS) /D GOLDEN_BIOS_ENABLE
|
|
!endif
|
|
#[-end-220112-Ching000027-add]# |