mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
OvmfPkg: use NetworkDynamicPcds include file
Start using the include file in the OvmfPkg package to manage dynamic network-related PCDs. This change removes the manual addition of `PcdIPv4PXESupport` and `PcdIPv6PXESupport` from the DSC file, relying instead on the centralized include file introduced in NetworkPkg. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jianyong Wu <jianyong.wu@arm.com> Cc: Anatol Belski <anbelski@linux.microsoft.com> Cc: Sunil V L <sunilvl@ventanamicro.com> Cc: Andrei Warkentin <andrei.warkentin@intel.com> Cc: Chao Li <lichao@loongson.cn> Cc: Bibo Mao <maobibo@loongson.cn> Cc: Xianglai Li <lixianglai@loongson.cn> Signed-off-by: Aleksandr Goncharov <chat@joursoir.net>
This commit is contained in:
parent
1db5895c39
commit
7ccda1a0b3
@ -635,11 +635,7 @@
|
||||
|
||||
!include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
# IPv4 and IPv6 PXE Boot support.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
||||
!endif
|
||||
!include NetworkPkg/NetworkDynamicPcds.dsc.inc
|
||||
|
||||
# Set ConfidentialComputing defaults
|
||||
gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
|
||||
|
@ -414,13 +414,7 @@
|
||||
# PCD and PcdPciDisableBusEnumeration above have not been assigned yet
|
||||
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress |0xFFFFFFFFFFFFFFFF
|
||||
|
||||
#
|
||||
# IPv4 and IPv6 PXE Boot support.
|
||||
#
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport | 0x01
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport | 0x01
|
||||
!endif
|
||||
!include NetworkPkg/NetworkDynamicPcds.dsc.inc
|
||||
|
||||
#
|
||||
# SMBIOS entry point version
|
||||
|
@ -650,11 +650,7 @@
|
||||
|
||||
gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
# IPv4 and IPv6 PXE Boot support.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
||||
!endif
|
||||
!include NetworkPkg/NetworkDynamicPcds.dsc.inc
|
||||
|
||||
# Set ConfidentialComputing defaults
|
||||
gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
|
||||
|
@ -659,11 +659,7 @@
|
||||
|
||||
!include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
# IPv4 and IPv6 PXE Boot support.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
||||
!endif
|
||||
!include NetworkPkg/NetworkDynamicPcds.dsc.inc
|
||||
|
||||
# Set ConfidentialComputing defaults
|
||||
gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
|
||||
|
@ -676,11 +676,7 @@
|
||||
gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
|
||||
|
||||
[PcdsDynamicDefault.X64]
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
# IPv4 and IPv6 PXE Boot support.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
||||
!endif
|
||||
!include NetworkPkg/NetworkDynamicPcds.dsc.inc
|
||||
|
||||
[PcdsDynamicHii]
|
||||
!include OvmfPkg/Include/Dsc/OvmfTpmPcdsHii.dsc.inc
|
||||
|
@ -690,11 +690,7 @@
|
||||
|
||||
!include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
# IPv4 and IPv6 PXE Boot support.
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
||||
!endif
|
||||
!include NetworkPkg/NetworkDynamicPcds.dsc.inc
|
||||
|
||||
# Set ConfidentialComputing defaults
|
||||
gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
|
||||
|
@ -217,13 +217,7 @@
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
#
|
||||
# IPv4 and IPv6 PXE Boot support.
|
||||
#
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
||||
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
||||
!endif
|
||||
!include NetworkPkg/NetworkDynamicPcds.dsc.inc
|
||||
|
||||
#
|
||||
# TPM2 support
|
||||
|
Loading…
x
Reference in New Issue
Block a user