From 7ccda1a0b362a8b4700a7f4f68b0b3945cb8658c Mon Sep 17 00:00:00 2001 From: Aleksandr Goncharov Date: Thu, 5 Sep 2024 22:51:01 +0300 Subject: 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 Cc: Jiewen Yao Cc: Gerd Hoffmann Cc: Jianyong Wu Cc: Anatol Belski Cc: Sunil V L Cc: Andrei Warkentin Cc: Chao Li Cc: Bibo Mao Cc: Xianglai Li Signed-off-by: Aleksandr Goncharov --- OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'OvmfPkg/RiscVVirt') diff --git a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc b/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc index 63d896587b..0904f3b4a5 100644 --- a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc +++ b/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc @@ -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 -- cgit v1.2.3