From 8bb9145ad1a5db068f63e3e19b4a532226351b2b Mon Sep 17 00:00:00 2001 From: Chao Li Date: Fri, 12 Jul 2024 16:11:43 +0800 Subject: OvmfPkg: Add network support for LoongArch QEMU platform Open the network option to enable networking on the LoongArch QEMU platform. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Gerd Hoffmann Signed-off-by: Chao Li --- OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc | 10 +++++----- OvmfPkg/LoongArchVirt/LoongArchVirtQemu.fdf | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc index 70f6c75..d1efc48 100644 --- a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc +++ b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc @@ -552,12 +552,12 @@ # # Network Support # -#!include NetworkPkg/NetworkComponents.dsc.inc +!include NetworkPkg/NetworkComponents.dsc.inc -# NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf { -# -# NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf -# } + NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf { + + NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf + } !if $(NETWORK_TLS_ENABLE) == TRUE NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf { diff --git a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.fdf b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.fdf index ca28e6e..ac197ad 100644 --- a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.fdf +++ b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.fdf @@ -159,7 +159,7 @@ INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf # # Network modules -#!include NetworkPkg/Network.fdf.inc +!include NetworkPkg/Network.fdf.inc # # File system -- cgit v1.1