## @file
#  FDF file for pre-memory advanced features.
#
#  This file is intended to be included into another package so advanced features
#  can be conditionally included in the flash image by enabling the respective
#  feature via its FeaturePCD.
#
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

#
# Debug Advanced Features
#
!if gAcpiDebugFeaturePkgTokenSpaceGuid.PcdAcpiDebugFeatureEnable == TRUE
  !include Debugging/AcpiDebugFeaturePkg/Include/PreMemory.fdf
!endif
!if gUsb3DebugFeaturePkgTokenSpaceGuid.PcdUsb3DebugFeatureEnable == TRUE
  !include Debugging/Usb3DebugFeaturePkg/Include/PreMemory.fdf
!endif

#
# Network Advanced Features
#
!if gNetworkFeaturePkgTokenSpaceGuid.PcdNetworkFeatureEnable == TRUE
  !include Network/NetworkFeaturePkg/Include/PreMemory.fdf
!endif

#
# Out-of-Band Management Advanced Features
#
!if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
  !include OutOfBandManagement/IpmiFeaturePkg/Include/PreMemory.fdf
!endif

#
# Power Management Advanced Features
#
!if gS3FeaturePkgTokenSpaceGuid.PcdS3FeatureEnable == TRUE
  !include PowerManagement/S3FeaturePkg/Include/PreMemory.fdf
!endif

#
# System Information Advanced Features
#
!if gSmbiosFeaturePkgTokenSpaceGuid.PcdSmbiosFeatureEnable == TRUE
  !include SystemInformation/SmbiosFeaturePkg/Include/PreMemory.fdf
!endif

#
# User Interface Advanced Features
#
!if gUserAuthFeaturePkgTokenSpaceGuid.PcdUserAuthenticationFeatureEnable == TRUE
  !include UserInterface/UserAuthFeaturePkg/Include/PreMemory.fdf
!endif
