alder_lake_bios/Intel/AlderLake/AlderLakeOpenBoardPkg/TigerLakeSimics/OpenBoardPkgConfig.dsc

75 lines
2.4 KiB
Plaintext

## @file
# Platform configuration file.
#
# Copyright (c) 2017 - 2021, 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
# 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.
#
##
[PcdsFixedAtBuild]
#
# Please select BootStage here.
# Stage 1 - enable debug (system deadloop after debug init)
# Stage 2 - mem init (system deadloop after mem init)
# Stage 3 - boot to shell only
# Stage 4 - boot to OS
# Stage 5 - boot to OS with security boot enabled
#
gMinPlatformPkgTokenSpaceGuid.PcdBootStage|4
[PcdsFeatureFlag]
gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|FALSE
gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|FALSE
gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|FALSE
gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|FALSE
gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|FALSE
!if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 1
gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE
!endif
!if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 2
gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|FALSE
gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|TRUE
!endif
!if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 3
gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|FALSE
gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|TRUE
!endif
!if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 4
gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|FALSE
!endif
!if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >= 5
gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|TRUE
gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|TRUE
!endif
!if $(TARGET) == DEBUG
gMinPlatformPkgTokenSpaceGuid.PcdSmiHandlerProfileEnable|TRUE
!else
gMinPlatformPkgTokenSpaceGuid.PcdSmiHandlerProfileEnable|FALSE
!endif
gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable|FALSE
[PcdsFixedAtBuild]
#
# Silicon feature settings
#
gSiPkgTokenSpaceGuid.PcdBiosGuardEnable|FALSE
gSiPkgTokenSpaceGuid.PcdSgEnable|FALSE
gSiPkgTokenSpaceGuid.PcdBootGuardEnable|FALSE
gSiPkgTokenSpaceGuid.PcdS3Enable|FALSE
gSiPkgTokenSpaceGuid.PcdITbtEnable|FALSE