summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Goncharov <chat@joursoir.net>2024-09-05 22:51:33 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-11-11 13:38:51 +0000
commit9cab9905afdeff7c78785c39c3b4212d9bf3a9c0 (patch)
treefa780c48fe27ac75588f3849544adb809bff3536
parent7ccda1a0b362a8b4700a7f4f68b0b3945cb8658c (diff)
downloadedk2-9cab9905afdeff7c78785c39c3b4212d9bf3a9c0.tar.gz
edk2-9cab9905afdeff7c78785c39c3b4212d9bf3a9c0.tar.bz2
edk2-9cab9905afdeff7c78785c39c3b4212d9bf3a9c0.zip
ArmVirtPkg: use NetworkDynamicPcds include file
Start using the include file in the ArmVirtPkg 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: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Aleksandr Goncharov <chat@joursoir.net>
-rw-r--r--ArmVirtPkg/ArmVirtQemu.dsc8
-rw-r--r--ArmVirtPkg/ArmVirtQemuKernel.dsc8
2 files changed, 2 insertions, 14 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 10e4541b3e..8118cfd137 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -297,13 +297,7 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
-!if $(NETWORK_ENABLE) == TRUE
- #
- # IPv4 and IPv6 PXE Boot support.
- #
- gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
- gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
-!endif
+!include NetworkPkg/NetworkDynamicPcds.dsc.inc
#
# TPM2 support
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc
index c5fdcfd9c7..809a2da01d 100644
--- a/ArmVirtPkg/ArmVirtQemuKernel.dsc
+++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc
@@ -260,13 +260,7 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
-!if $(NETWORK_ENABLE) == TRUE
- #
- # IPv4 and IPv6 PXE Boot support.
- #
- gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
- gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
-!endif
+!include NetworkPkg/NetworkDynamicPcds.dsc.inc
################################################################################
#